You are here

function delta_menu_rebuild in Delta 6

Same name and namespace in other branches
  1. 7 delta.module \delta_menu_rebuild()
  2. 7.2 delta_ui.module \delta_menu_rebuild()

Called when saving the default delta settings form. This is needed to rebuild the menu when an update occurs in order to Add/Remove any themes that need to be in the menu system for rendering the appropriate sub-tabs.

1 string reference to 'delta_menu_rebuild'
delta_form_delta_theme_settings_config_alter in ./delta.module
Implmentation of hook_form_alter for delta_theme_settings_config()

File

./delta.module, line 411
The Delta Theme API is an advanced manipulation of the Theme Settings API to allow for customization/configuration of theme settings based on node types, context, or groups of paths.

Code

function delta_menu_rebuild() {
  menu_rebuild();
  menu_cache_clear_all();
}