You are here

interface UserManagementServiceInterface in Auto Purge Users 8.2

Same name and namespace in other branches
  1. 8.3 src/Services/UserManagementServiceInterface.php \Drupal\purge_users\Services\UserManagementServiceInterface

Interface UserManagementServiceInterface.

Hierarchy

Expanded class hierarchy of UserManagementServiceInterface

All classes that implement UserManagementServiceInterface

File

src/Services/UserManagementServiceInterface.php, line 10

Namespace

Drupal\purge_users\Services
View source
interface UserManagementServiceInterface {

  /**
   * Cancel a user and anonymize it.
   *
   * @param \Drupal\user\UserInterface $user
   *   The user to block.
   * @param string $method
   *   The cancel method to use.
   */
  public function purgeUser(UserInterface $user, string $method);

}

Members

Namesort descending Modifiers Type Description Overrides
UserManagementServiceInterface::purgeUser public function Cancel a user and anonymize it. 1