You are here

function domain_nav_domainupdate in Domain Access 6.2

Same name and namespace in other branches
  1. 5 domain_nav/domain_nav.module \domain_nav_domainupdate()
  2. 7.2 domain_nav/domain_nav.module \domain_nav_domainupdate()

Implement hook_domainupdate()

File

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

Code

function domain_nav_domainupdate($op, $domain, $form_state = array()) {

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