Go to the source code of this file.
$active = $plugin->isActive() |
if (!in_array('bundled', $categories)) $categories = array_keys($plugin->getCategories()) |
$classes = ['elgg-plugin'] |
$classes[] = $reordering ? 'elgg-state-draggable' : 'elgg-state-undraggable' |
Initial value:
Definition at line 47 of file full.php.
$options['title'] = elgg_echo('admin:plugins:cannot_activate') |
$options['class'] = 'elgg-button elgg-button-submit elgg-state-disabled' |
$options['text'] = elgg_echo('admin:plugins:activate') |
Displays a plugin.
$vars['entity'] $vars['display_reordering'] Do we allow the plugins to be rearranged with drag and drop
Definition at line 14 of file full.php.
if (!$plugin instanceof\ElggPlugin) $reordering = elgg_extract('display_reordering', $vars, false) |
if (!in_array(elgg_extract('active_filter', $vars), $categories)) foreach ($categories as $category) $title |
Initial value: 'href' => "ajax/view/object/plugin/details?guid={$plugin->guid}",
'text' =>
$plugin->getDisplayName(),
'class' => 'elgg-lightbox',
])
if(!elgg_is_admin_logged_in()) $plugin
Displays a plugin.
elgg_view(string $view, array $vars=[], string $viewtype= '')
Return a parsed view.
Definition at line 105 of file full.php.
Initial value:{
$can_deactivate = false
Definition at line 35 of file full.php.
Initial value:{
if(!elgg_is_admin_logged_in()) $plugin
Displays a plugin.
Definition at line 37 of file full.php.