You are here

function workflow_user_delete in Workflow 8

Same name and namespace in other branches
  1. 7.2 workflow.module \workflow_user_delete()
  2. 7 workflow.module \workflow_user_delete()

Implements hook_user_delete().

@todo Hook hook_user_delete does not exist. hook_ENTITY_TYPE_delete?

Parameters

\Drupal\Core\Session\AccountInterface $account: An account object.

File

./workflow.module, line 150
Support workflows made up of arbitrary states.

Code

function workflow_user_delete($account) {
  WorkflowManager::deleteUser($account);
}