You are here

function helper_menu_alter in Helper 7

Implements hook_menu_alter().

File

./helper.module, line 110

Code

function helper_menu_alter(array &$items) {
  if (helper_is_tweak_enabled('node_delete_tab')) {

    // Make the delete page for nodes show up as a tab.
    $items['node/%node/delete']['context'] = MENU_CONTEXT_PAGE | MENU_CONTEXT_INLINE;
  }
}