Skip to main content
backdrop
Documentation
Documentation and API source code for Backdrop CMS.
Welcome!
Login
constant MENU_SITE_ONLINE
Home
»
API reference
»
1.x
»
menu.inc
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.
5 uses of MENU_SITE_ONLINE
hook_menu_site_status_alter
in core/
modules/
system/
system.api.php
Control site status before menu dispatching.
menu_execute_active_handler
in core/
includes/
menu.inc
Execute the page callback associated with the current path.
menu_test_menu_site_status_alter
in core/
modules/
simpletest/
tests/
menu_test.module
Implements
hook_menu_site_status_alter
().
user_menu_site_status_alter
in core/
modules/
user/
user.module
Implements
hook_menu_site_status_alter
().
_menu_site_status
in core/
includes/
menu.inc
Checks whether the site is in maintenance mode.
File
core/
includes/
menu.inc
, line 256
API for the Backdrop menu system.
Code
define
(
'MENU_SITE_ONLINE'
,
5
)
Search
Menu
Toggle menu visibility
Getting started
Installing
Updates vs upgrades
Hosting/deploying
Upgrading from Drupal
Introduction
Upgrade overview
Converting Drupal code
User guide
Quick start guide
Using Backdrop
Contributed modules
Developing for Backdrop
Developing modules
Developing themes
Developing layouts
Using libraries
Local development
Writing secure code
Database API
Icon API
Using JavaScript
Contributors guide
Contribute to Backdrop core
How to use the core issue queue
Adding labels to issues
Adding milestones to issues
Contribute Backdrop add-ons
Contribute to documentation
Developer API
Topics
Functions
Classes
Files
Globals
Theme functions
Form API reference
Appendix/reference
Change records
Glossary
Coding & documentation standards
Contrib permissions policy