1. 4.6.x includes/menu.inc MENU_ACCESS_DENIED
  2. 4.7.x includes/menu.inc MENU_ACCESS_DENIED
  3. 5.x includes/menu.inc MENU_ACCESS_DENIED
  4. 6.x includes/menu.inc MENU_ACCESS_DENIED
  5. 7.x includes/menu.inc 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 modules/aggregator/aggregator.admin.inc
Page callback: Refreshes a feed, then redirects to the overview page.
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.
drupal_access_denied in includes/common.inc
Delivers an "access denied" error to the browser.

... See full list

File

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

Code

define('MENU_ACCESS_DENIED', 3)