function user_delete_menu_alter in User Delete 6
Same name and namespace in other branches
- 6.2 user_delete.module \user_delete_menu_alter()
Implementation of hook_menu_alter().
File
- ./
user_delete.module, line 57 - User delete - Let users delete their own account.
Code
function user_delete_menu_alter(&$callbacks) {
$callbacks['user/%user/delete']['access callback'] = 'user_delete_user_delete_access';
$callbacks['user/%user/delete']['access arguments'] = array(
1,
);
$callbacks['user/%user/delete']['type'] = MENU_CALLBACK;
}