public function UserManagementServiceInterface::notifyUser in Auto Purge Users 8.3
Sends a user notification before cancel and anonymize it.
Parameters
\Drupal\user\UserInterface $user: The user to block.
1 method overrides UserManagementServiceInterface::notifyUser()
- UserManagementService::notifyUser in src/
Services/ UserManagementService.php - Sends a user notification before cancel and anonymize it.
File
- src/
Services/ UserManagementServiceInterface.php, line 28
Class
- UserManagementServiceInterface
- Contract for the purge service.
Namespace
Drupal\purge_users\ServicesCode
public function notifyUser(UserInterface $user) : void;