Error message

You are browsing documentation for drupal 7.x, which is not supported anymore. Read the updated version of this page for drupal 11.x (the latest version).

function trigger_user_cancel

Implements hook_user_cancel().

File

modules/trigger/trigger.module, line 522

Code

function trigger_user_cancel ($edit, $account, $method) {
 switch ($method) {
 case 'user_cancel_reassign':
 _trigger_user ('user_delete', $edit, $account, $method);
 break;
 }
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.