Skip to main content
Hostdog docs
Documentation & API reference
Main menu
Drupal 7
Drupal 8
Drupal 9
You are here
Home
»
API reference
»
Drupal 8.x
»
menu.inc
Search Drupal 8.x
Function, class, file, topic, etc.
*
Partial match search is supported
API Navigation
Drupal 8.x
Topics
Classes
Functions
Files
Namespaces
Services
Constants
Globals
Deprecated
constant MENU_SITE_ONLINE
Internal menu status code -- Everything is working fine.
Related topics
Menu status codes
Status codes for menu callbacks.
Menu system
Define the navigation menus, and route page requests to code based on URLs.
4 uses of MENU_SITE_ONLINE
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/
lib/
Drupal/
Core/
EventSubscriber/
MaintenanceModeSubscriber.php
Returns the site maintenance page if the site is 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 262
API for the Drupal menu system.
Code
const
MENU_SITE_ONLINE
=
5
;