constant MENU_SITE_OFFLINE

Internal menu status code -- Menu item inaccessible because site is offline.

Related topics

4 uses of MENU_SITE_OFFLINE
ajax_prepare_response in drupal/core/includes/ajax.inc
Converts the return value of a page callback into an Ajax commands array.
MaintenanceModeSubscriber::onKernelRequestDetermineSiteStatus in drupal/core/lib/Drupal/Core/EventSubscriber/MaintenanceModeSubscriber.php
Determine whether the page is configured to be offline.
MaintenanceModeSubscriber::onKernelRequestMaintenance in drupal/core/modules/user/lib/Drupal/user/EventSubscriber/MaintenanceModeSubscriber.php
Determine whether the page is configured to be offline.
MaintenanceModeSubscriber::onKernelRequestMaintenance in drupal/core/modules/system/tests/modules/menu_test/lib/Drupal/menu_test/EventSubscriber/MaintenanceModeSubscriber.php
Set the page online if called from a certain path.

File

drupal/core/includes/menu.inc, line 257
API for the Drupal menu system.

Code

const MENU_SITE_OFFLINE = 4;