constant NODE_ACCESS_ALLOW
Modules should return this value from hook_node_access() to allow access to a node.
Archivo
- drupal-7.x/
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.
Código
define('NODE_ACCESS_ALLOW', 'allow')