constant NODE_ACCESS_DENY

  1. 7.x drupal/modules/node/node.module NODE_ACCESS_DENY
  2. 8.x drupal/core/modules/node/node.module NODE_ACCESS_DENY

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

File

drupal/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')