Error message

You are browsing documentation for drupal 7.x, which is not supported anymore. Read the updated version of this page for drupal 11.x (the latest version).

NODE_ACCESS_DENY

Modules should return this value from hook_node_access() to deny access to a node.

1 use of NODE_ACCESS_DENY
node_access in modules/node/node.module
Determines whether the current user may perform the operation on the node.

File

modules/node/node.module, line 55

Code

define ('NODE_ACCESS_DENY', 'deny');

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.