constant NODE_ACCESS_ALLOW

Denotes that access is allowed for a node.

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

3 uses of NODE_ACCESS_ALLOW

File

drupal/core/modules/node/node.module, line 59
The core module that allows content to be submitted to the site.

Code

const NODE_ACCESS_ALLOW = 'allow';