function menu_test_menu_site_status_alter

Implements hook_menu_site_status_alter().

File

modules/simpletest/tests/menu_test.module, line 539

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

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.