constant MENU_ACCESS_DENIED

Menu status code -- Access denied.

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

Related topics

18 uses of MENU_ACCESS_DENIED
aggregator_admin_refresh_feed in drupal/modules/aggregator/aggregator.admin.inc
Page callback: Refreshes a feed, then redirects to the overview page.
ajax_prepare_response in drupal/includes/ajax.inc
Converts the return value of a page callback into an Ajax commands array.
book_export in drupal/modules/book/book.pages.inc
Menu callback; Generates representations of a book page and its children.
comment_approve in drupal/modules/comment/comment.pages.inc
Menu callback; publish specified comment.
drupal_access_denied in drupal/includes/common.inc
Delivers an "access denied" error to the browser.

... See full list

File

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

Code

define('MENU_ACCESS_DENIED', 3);