You are here

constant NODE_ACCESS_DENY in Drupal 7

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
The core that allows content to be submitted to the site. Modules and scripts may programmatically submit nodes using the usual form API pattern.

Code

define('NODE_ACCESS_DENY', 'deny');