You are here

public static function WorkflowManager::deleteUser in Workflow 8

Implements hook_user_delete().

Parameters

\Drupal\Core\Session\AccountInterface $account:

Overrides WorkflowManagerInterface::deleteUser

1 call to WorkflowManager::deleteUser()
workflow_user_delete in ./workflow.module
Implements hook_user_delete().

File

src/Entity/WorkflowManager.php, line 294

Class

WorkflowManager
Manages entity type plugin definitions.

Namespace

Drupal\workflow\Entity

Code

public static function deleteUser(AccountInterface $account) {
  self::cancelUser([], $account, 'user_cancel_delete');
}