You are here

function ad_ui_menu_alter in Advertisement 7.2

Implements hook_menu_alter().

File

./ad_ui.module, line 130

Code

function ad_ui_menu_alter(&$items) {

  // Transform the field UI tabs into contextual links.
  $items['admin/ad/types/%ad_type/fields']['context'] = MENU_CONTEXT_PAGE | MENU_CONTEXT_INLINE;
  $items['admin/ad/types/%ad_type/display']['context'] = MENU_CONTEXT_PAGE | MENU_CONTEXT_INLINE;
}