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

aggregator_admin_refresh_feed in modules/aggregator/aggregator.admin.inc
Page callback: Refreshes a feed, then redirects to the overview page.
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.
image_style_deliver in modules/image/image.module
Page callback: Generates a derivative, given a style and image path.

... See full list


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


define('MENU_ACCESS_DENIED', 3);