constant NODE_PUBLISHED

Node is published.

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

... See full list

File

drupal/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);