Menu status codes

  1. drupal
    1. 8
    2. 6
    3. 7

Status codes for menu callbacks.

Constants

NameDescription
MENU_ACCESS_DENIEDInternal menu status code -- Menu item access is denied.
MENU_FOUNDInternal menu status code -- Menu item was found.
MENU_NOT_FOUNDInternal menu status code -- Menu item was not found.
MENU_SITE_OFFLINEInternal menu status code -- Menu item inaccessible because site is offline.
MENU_SITE_ONLINEInternal menu status code -- Everything is working fine.

includes/menu.inc, line 220