You are here

function multiple_node_menu_menus in Multiple Node Menu 6

1 call to multiple_node_menu_menus()
multiple_node_menu_item_form in ./multiple_node_menu.module
1 string reference to 'multiple_node_menu_menus'
_multiple_node_menu_settings_form in includes/multiple_node_menu.admin.inc

File

./multiple_node_menu.module, line 469

Code

function multiple_node_menu_menus() {
  if (!($menus = array_filter(variable_get('multiple_node_menu_menus', array())))) {
    $menus = array_flip(array_keys(menu_get_menus()));
  }
  return array_intersect_key(menu_get_menus(), $menus);
}