Go to the source code of this file.
◆ $action_button
◆ $active
$active = $plugin->isActive() |
◆ $can_activate
◆ $categories [1/2]
if (!in_array( 'bundled', $categories)) $categories = array_keys($plugin->getCategories()) |
◆ $categories [2/2]
◆ $classes [1/2]
$classes = ['elgg-plugin'] |
◆ $classes [2/2]
$classes[] = $reordering ? 'elgg-state-draggable' : 'elgg-state-undraggable' |
◆ $content
◆ $error
◆ $options [1/4]
Initial value:
Definition at line 47 of file full.php.
◆ $options [2/4]
$options[ 'class'] = 'elgg-button elgg-button-submit elgg-state-disabled' |
◆ $options [3/4]
$options[ 'text'] = elgg_echo('admin:plugins:activate') |
◆ $options [4/4]
$options[ 'title'] = elgg_echo('admin:plugins:cannot_activate') |
◆ $plugin
Displays a plugin.
@uses $vars['entity'] @uses $vars['display_reordering'] Do we allow the plugins to be rearranged with drag and drop
Definition at line 14 of file full.php.
◆ $reordering
◆ $style
◆ $title
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',
])
elgg_view(string $view, array $vars=[], string $viewtype='')
Return a parsed view.
if(!elgg_is_admin_logged_in()) $plugin
Displays a plugin.
Definition at line 105 of file full.php.
◆ else
if ( $active) else if ( $can_activate) else |
Initial value:{
$can_deactivate = false
Definition at line 35 of file full.php.
◆ if
◆ try
Initial value:
Definition at line 37 of file full.php.