19 echo
elgg_view(
'object/elements/summary', [
21 'class' =>
'elgg-state-draggable elgg-plugin elgg-state-inactive elgg-state-cannot-activate',
22 'id' => preg_replace(
'/[^a-z0-9-]/i',
'-',
$plugin->getID()),
24 'icon' =>
elgg_echo(
'admin:plugins:cannot_activate'),
elgg_echo(string $message_key, array $args=[], string $language= '')
Elgg language module Functions to manage language and translations.
elgg_extract($key, $array, $default=null, bool $strict=true)
Checks for $array[$key] and returns its value if it exists, else returns $default.
elgg_view(string $view, array $vars=[], string $viewtype= '')
Return a parsed view.
$plugin
Displays an invalid plugin on the admin screen.
elgg_view_message(string $type, string $body, array $vars=[])
Wrapper function for the message display pattern.