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
19 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.
File
-
includes/
menu.inc, line 247
Code
define('MENU_ACCESS_DENIED', 3);
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.