constant NODE_PUBLISHED

Denotes that the node is published.

7 uses of NODE_PUBLISHED
hook_node_operations in drupal/core/modules/node/node.api.php
Add mass node operations.
NodeLoadHooksTest::testHookNodeLoad in drupal/core/modules/node/lib/Drupal/node/Tests/NodeLoadHooksTest.php
Tests that hook_node_load() is invoked correctly.
node_get_recent in drupal/core/modules/node/node.module
Finds the most recently changed nodes that are available to the current user.
node_node_operations in drupal/core/modules/node/node.admin.inc
Implements hook_node_operations().
node_publish_action in drupal/core/modules/node/node.module
Sets the status of a node to 1 (published).

... See full list

File

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

Code

const NODE_PUBLISHED = 1;