function _menu_set_expanded_menus

×

Error message

User warning: The following module is missing from the file system: theme/theme. For information about how to fix this, see the documentation page. in _drupal_trigger_error_with_delayed_logging() (line 1156 of /var/www/html/elmsln_community/api.elmsln.org/includes/bootstrap.inc).
cis7 menu.inc _menu_set_expanded_menus()
cle7 menu.inc _menu_set_expanded_menus()
elmsmedia7 menu.inc _menu_set_expanded_menus()
icor7 menu.inc _menu_set_expanded_menus()
meedjum_blog7 menu.inc _menu_set_expanded_menus()
mooc7 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 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 includes/menu.inc
Clears the page and block caches at most twice per page load.

File

includes/menu.inc, line 3332
API for the Drupal menu system.

Code

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);
}