Elgg  Version master
Public Member Functions | List of all members
Elgg\Users\BanUserNotificationHandler Class Reference

Sends notification to a banned user. More...

Public Member Functions

 __invoke (\Elgg\Event $event)
 Send a notification to the user that the account was banned. More...
 

Detailed Description

Sends notification to a banned user.

Since
4.0

Definition at line 10 of file BanUserNotificationHandler.php.

Member Function Documentation

Elgg\Users\BanUserNotificationHandler::__invoke ( \Elgg\Event  $event)

Send a notification to the user that the account was banned.

Note: this can't be handled by the delayed notification system as it won't send notifications to banned users

Parameters
\Elgg\Event$event'ban', 'user'
Returns
void

Definition at line 21 of file BanUserNotificationHandler.php.


The documentation for this class was generated from the following file: