You are here

function domain_nav_rebuild_menu in Domain Access 7.3

Helper function for domain update hooks.

3 calls to domain_nav_rebuild_menu()
domain_nav_domain_delete in domain_nav/domain_nav.module
Implements hook_domain_delete()
domain_nav_domain_insert in domain_nav/domain_nav.module
Implements hook_domain_insert()
domain_nav_domain_update in domain_nav/domain_nav.module
Implements hook_domain_update()

File

domain_nav/domain_nav.module, line 324
Navigation block and menu options for Domain Access

Code

function domain_nav_rebuild_menu() {

  // Only execute if the menu is turned on.
  if (DOMAIN_NAV_MENU == TRUE) {

    // We rebuild the menu, since the domain records have changed.
    menu_rebuild();
  }
}