26 $user = $event->getObject();
36 $site->getDisplayName(),
43 'apply_muting' =>
false,
$params
Saves global plugin settings.
__invoke(\Elgg\Event $event)
Send a notification to the user that the account was banned.
elgg_echo(string $message_key, array $args=[], string $language= '')
Elgg language module Functions to manage language and translations.
elgg_get_site_entity()
Get the current site entity.
Sends notification to a banned user.
notify_user(int|array $to, int $from=0, string $subject= '', string $message= '', array $params=[], $methods_override=null)
Notify a user via their preferences.
_elgg_services()
Get the global service provider.
Models an event passed to event handlers.