1 admin_bar.map.inc menu_admin_bar_map()

Implements hook_admin_bar_map() on behalf of Menu module.

File

core/modules/admin_bar/admin_bar.map.inc, line 51
Implements hook_admin_bar_map() on behalf of core modules.

Code

function menu_admin_bar_map() {
  if (!user_access('administer menu')) {
    return;
  }
  $map['admin/structure/menu/manage/%menu'] = array(
    'parent' => 'admin/structure/menu',
    'arguments' => array(
      array('%menu' => array_keys(menu_get_menus())),
    ),
  );
  return $map;
}