1 menu_test.module menu_test_menu_site_status_alter(&$menu_site_status, $path)

Implements hook_menu_site_status_alter().

File

core/modules/simpletest/tests/menu_test.module, line 553
Dummy module implementing hook menu.

Code

function menu_test_menu_site_status_alter(&$menu_site_status, $path) {
  // Allow access to ?q=menu_login_callback even if in maintenance mode.
  if ($menu_site_status == MENU_SITE_OFFLINE && $path == 'menu_login_callback') {
    $menu_site_status = MENU_SITE_ONLINE;
  }
}