Elgg
Version 1.9
|
Go to the source code of this file.
Namespaces | |
Elgg\Core | |
Activate a plugin or plugins. | |
Variables | |
$plugin = $vars['entity'] | |
$plugin_id = $plugin->getID() | |
$user_guid = elgg_extract('user_guid', $vars, elgg_get_logged_in_user_guid()) | |
$type = elgg_extract('type', $vars, '') | |
if($type!= 'user') if(elgg_view_exists("plugins/$plugin_id/{$type}settings")) | else |
$type = elgg_extract('type', $vars, '') |
$user_guid = elgg_extract('user_guid', $vars, elgg_get_logged_in_user_guid()) |