diff options
author | webchick <webchick@24967.no-reply.drupal.org> | 2012-01-11 23:17:15 -0500 |
---|---|---|
committer | webchick <webchick@24967.no-reply.drupal.org> | 2012-01-11 23:17:15 -0500 |
commit | 94ab1477811151755d46ca8b0c686891e0673276 (patch) | |
tree | 5c652f4738c5982de69da9d77b08f24c9323d5f7 /modules/node/node.api.php | |
parent | 87a1fbc1f6875196d0347cc2b6565f4e730d384a (diff) | |
download | brdo-94ab1477811151755d46ca8b0c686891e0673276.tar.gz brdo-94ab1477811151755d46ca8b0c686891e0673276.tar.bz2 |
Issue #1227396 by chris.leversuch, jhodgdon: Document that hook_node_access() is not called on node listings.
Diffstat (limited to 'modules/node/node.api.php')
-rw-r--r-- | modules/node/node.api.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/modules/node/node.api.php b/modules/node/node.api.php index dbc5f3d0b..c87e3f8e7 100644 --- a/modules/node/node.api.php +++ b/modules/node/node.api.php @@ -570,6 +570,10 @@ function hook_node_load($nodes, $types) { * block access, return NODE_ACCESS_IGNORE or simply return nothing. * Blindly returning FALSE will break other node access modules. * + * Also note that this function isn't called for node listings (e.g., RSS feeds, + * the default home page at path 'node', a recent content block, etc.) See + * @link node_access Node access rights @endlink for a full explanation. + * * @param $node * Either a node object or the machine name of the content type on which to * perform the access check. |