20 if (!$event->getObject() instanceof \ElggUpgrade) {
26 'href' =>
'admin/upgrades',
27 'text' =>
elgg_echo(
'admin:view_upgrades'),
elgg_echo(string $message_key, array $args=[], string $language= '')
Elgg language module Functions to manage language and translations.
Admin notices for new upgrades.
if(!$item instanceof ElggEntity) $link
elgg_view(string $view, array $vars=[], string $viewtype= '')
Return a parsed view.
__invoke(\Elgg\Event $event)
Add an admin notice when a new object is created.
elgg_add_admin_notice(string $id, string $message)
Write a persistent message to the admin view.
Models an event passed to event handlers.