1 common.inc backdrop_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 backdrop_not_found(). However, functions that are invoked in contexts where that return value might not bubble up to menu_execute_active_handler() should call backdrop_not_found().

Related topics

File

core/includes/common.inc, line 896
Common functions that many Backdrop modules will need to reference.

Code

function backdrop_not_found() {
  backdrop_deliver_page(MENU_NOT_FOUND);
}