You are here

function spaces_user_menu_alter in Spaces 6.2

Implementation of hook_menu_alter().

File

spaces_user/spaces_user.module, line 248

Code

function spaces_user_menu_alter(&$items) {

  // Remove the "View" local task from the user menu, since we are pushing
  // visitors to the user's configured space homepage anyway.
  $items['user/%user/view']['type'] = MENU_CALLBACK;
}