function _menu_set_expanded_menus
Same name and namespace in other branches
- 6.x drupal-6.x/includes/menu.inc \_menu_set_expanded_menus()
Updates a list of menus with expanded items.
Related topics
1 call to _menu_set_expanded_menus()
- _menu_clear_page_cache in drupal-7.x/
includes/ menu.inc - Clears the page and block caches at most twice per page load.
1 string reference to '_menu_set_expanded_menus'
- _menu_clear_page_cache in drupal-7.x/
includes/ menu.inc - Clears the page and block caches at most twice per page load.
Archivo
- drupal-7.x/
includes/ menu.inc, line 3324 - API for the Drupal menu system.
Código
function _menu_set_expanded_menus() {
$names = db_query("SELECT menu_name FROM {menu_links} WHERE expanded <> 0 GROUP BY menu_name")->fetchCol();
variable_set('menu_expanded', $names);
}