You are here

constant NODE_NOT_PUBLISHED in Drupal 7

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

Node is not published.

8 uses of NODE_NOT_PUBLISHED
FilePrivateTestCase::testPrivateFile in modules/file/tests/file.test
Tests file access for file uploaded to a private node.
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.
MenuTestCase::testUnpublishedNodeMenuItem in modules/menu/menu.test
Tests that menu admin lists can include menu items for unpublished nodes.
NodeLoadHooksTestCase::testHookNodeLoad in modules/node/node.test
Test that hook_node_load() is invoked correctly.

... See full list

File

modules/node/node.module, line 12
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_NOT_PUBLISHED', 0);