You are here

function userone_menu_alter in User One 6

Same name and namespace in other branches
  1. 7 userone.module \userone_menu_alter()

Implementation of hook_menu_alter().

File

./userone.module, line 23
User One module.

Code

function userone_menu_alter(&$items) {

  // Since there is no "pre-delete" action for hook_user(), modify access callback.
  $items['user/%user/delete']['access callback'] = 'userone_delete_access';
}