You are here

UserManagementServiceInterface.php in Auto Purge Users 8.2

Same filename and directory in other branches
  1. 8.3 src/Services/UserManagementServiceInterface.php

File

src/Services/UserManagementServiceInterface.php
View source
<?php

namespace Drupal\purge_users\Services;

use Drupal\user\UserInterface;

/**
 * Interface UserManagementServiceInterface.
 */
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);

}

Interfaces

Namesort descending Description
UserManagementServiceInterface Interface UserManagementServiceInterface.