public static function WorkflowManagerInterface::cancelUser in Workflow 8
Implements hook_user_cancel().
Implements deprecated workflow_update_workflow_transition_history_uid().
" When cancelling the account " - Disable the account and keep its content. " - Disable the account and unpublish its content. " - Delete the account and make its content belong to the Anonymous user. " - Delete the account and its content. "This action cannot be undone.
Parameters
$edit:
\Drupal\Core\Session\AccountInterface $account:
string $method:
1 method overrides WorkflowManagerInterface::cancelUser()
- WorkflowManager::cancelUser in src/
Entity/ WorkflowManager.php - Implements hook_user_cancel().
File
- src/
Entity/ WorkflowManagerInterface.php, line 77
Class
- WorkflowManagerInterface
- Provides an interface for workflow manager.
Namespace
Drupal\workflow\EntityCode
public static function cancelUser($edit, AccountInterface $account, $method);