function rules_user_cancel_methods

Options list for user cancel methods.

@todo Use for providing a user_cancel action.

Related topics

File

modules/user.rules.inc, line 98

Code

function rules_user_cancel_methods() {
    module_load_include('inc', 'user', 'user.pages');
    foreach (user_cancel_methods() as $method => $form) {
        $methods[$method] = $form['#title'];
    }
    return $methods;
}