Same name and namespace in other branches
  1. 4.6.x includes/menu.inc \MENU_NOT_FOUND
  2. 4.7.x includes/menu.inc \MENU_NOT_FOUND
  3. 5.x includes/menu.inc \MENU_NOT_FOUND
  4. 6.x includes/menu.inc \MENU_NOT_FOUND

Menu status code -- Not found.

This can be used as the return value from a page callback, although it is preferable to use a load function to accomplish this; see the hook_menu() documentation for details.

Related topics

15 uses of MENU_NOT_FOUND
ajax_prepare_response in includes/ajax.inc
Converts the return value of a page callback into an Ajax commands array.
book_export in modules/book/book.pages.inc
Menu callback; Generates representations of a book page and its children.
comment_approve in modules/comment/comment.pages.inc
Menu callback; publish specified comment.
comment_confirm_delete_page in modules/comment/comment.admin.inc
Page callback for comment deletions.
comment_permalink in modules/comment/comment.module
Redirects comment links to the correct page depending on comment settings.

... See full list

File

includes/menu.inc, line 238
API for the Drupal menu system.

Code

define('MENU_NOT_FOUND', 2);