diff options
Diffstat (limited to 'modules/system/system.api.php')
-rw-r--r-- | modules/system/system.api.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/modules/system/system.api.php b/modules/system/system.api.php index 8f72133d9..fea9a9746 100644 --- a/modules/system/system.api.php +++ b/modules/system/system.api.php @@ -888,7 +888,9 @@ function hook_page_build(&$page) { * - "delivery callback": The function to call to package the result of the * page callback function and send it to the browser. Defaults to * drupal_deliver_html_page() unless a value is inherited from a parent menu - * item. + * item. Note that this function is called even if the access checks fail, + * so any custom delivery callback function should take that into account. + * See drupal_deliver_html_page() for an example. * - "access callback": A function returning a boolean value that determines * whether the user has access rights to this menu item. Defaults to * user_access() unless a value is inherited from a parent menu item. |