drupal_not_found
function drupal_not_found
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
File
- includes/common.inc, line 733
- Common functions that many Drupal modules will need to reference.
Code
function drupal_not_found() { drupal_deliver_page(MENU_NOT_FOUND); }
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/includes!common.inc/function/drupal_not_found/7.x