public function UserManagementServiceInterface::purgeUser in Auto Purge Users 8.2
Same name and namespace in other branches
- 8.3 src/Services/UserManagementServiceInterface.php \Drupal\purge_users\Services\UserManagementServiceInterface::purgeUser()
Cancel a user and anonymize it.
Parameters
\Drupal\user\UserInterface $user: The user to block.
string $method: The cancel method to use.
1 method overrides UserManagementServiceInterface::purgeUser()
- UserManagementService::purgeUser in src/
Services/ UserManagementService.php - Cancel a user and anonymize it.
File
- src/
Services/ UserManagementServiceInterface.php, line 20
Class
- UserManagementServiceInterface
- Interface UserManagementServiceInterface.
Namespace
Drupal\purge_users\ServicesCode
public function purgeUser(UserInterface $user, string $method);