You are here

constant NODE_PUBLISHED in Drupal 7

Same name and namespace in other branches
  1. 8 core/modules/node/node.module \NODE_PUBLISHED

Node is published.

7 uses of NODE_PUBLISHED
FilePrivateTestCase::testPrivateFileDownloadAccessGranted in modules/file/tests/file.test
Tests file access for private nodes when file download access is granted.
hook_node_operations in modules/node/node.api.php
Add mass node operations.
NodeLoadHooksTestCase::testHookNodeLoad in modules/node/node.test
Test that hook_node_load() is invoked correctly.
node_get_recent in modules/node/node.module
Finds the most recently changed nodes that are available to the current user.
node_node_operations in modules/node/node.admin.inc
Implements hook_node_operations().

... See full list

File

modules/node/node.module, line 17
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_PUBLISHED', 1);