NODE_ACCESS_ALLOW

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

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

File

modules/node/node.module, line 50
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_ALLOW', 'allow')
Login or register to post comments