MENU_SITE_OFFLINE
Internal menu status code -- Menu item inaccessible because site is offline.
Related topics
9 uses of MENU_SITE_OFFLINE
- ajax_prepare_response in includes/
ajax.inc - Converts the return value of a page callback into an Ajax commands array.
- drupal_deliver_html_page in includes/
common.inc - Packages and sends the result of a page callback to the browser as HTML.
- drupal_site_offline in includes/
common.inc - Delivers a "site is under maintenance" message to the browser.
- hook_menu_site_status_alter in modules/
system/ system.api.php - Control site status before menu dispatching.
- menu_execute_active_handler in includes/
menu.inc - Execute the page callback associated with the current path.
File
-
includes/
menu.inc, line 252
Code
define('MENU_SITE_OFFLINE', 4);
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.