You are here

constant MENU_NOT_FOUND in Drupal 7

Same name and namespace in other branches
  1. 4 includes/menu.inc \MENU_NOT_FOUND
  2. 5 includes/menu.inc \MENU_NOT_FOUND
  3. 6 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);