function drupal_not_found
Same name and namespace in other branches
- 6.x drupal-6.x/includes/common.inc \drupal_not_found()
Delivers a "page not found" error to the browser.
Page callback functions wanting to report a "page not found" message should return MENU_NOT_FOUND instead of calling drupal_not_found(). However, functions that are invoked in contexts where that return value might not bubble up to menu_execute_active_handler() should call drupal_not_found().
Related topics
16 calls to drupal_not_found()
- book_export in drupal-7.x/
modules/ book/ book.pages.inc - Menu callback; Generates representations of a book page and its children.
- book_export_html in drupal-7.x/
modules/ book/ book.pages.inc - Generates HTML for export when invoked by book_export().
- comment_permalink in drupal-7.x/
modules/ comment/ comment.module - Redirects comment links to the correct page depending on comment settings.
- contact_site_form in drupal-7.x/
modules/ contact/ contact.pages.inc - Form constructor for the site-wide contact form.
- file_download in drupal-7.x/
includes/ file.inc - Menu handler for private file transfers.
Archivo
- drupal-7.x/
includes/ common.inc, line 731 - Common functions that many Drupal modules will need to reference.
Código
function drupal_not_found() {
drupal_deliver_page(MENU_NOT_FOUND);
}