constant NODE_PROMOTED

Denotes that the node is promoted to the front page.

5 uses of NODE_PROMOTED
EntityFilteringThemeTest::setUp in drupal/core/modules/system/lib/Drupal/system/Tests/Theme/EntityFilteringThemeTest.php
Sets up a Drupal site for running functional and integration tests.
hook_node_operations in drupal/core/modules/node/node.api.php
Add mass node operations.
LocaleContentTest::testContentTypeDirLang in drupal/core/modules/locale/lib/Drupal/locale/Tests/LocaleContentTest.php
Test if a dir and lang tags exist in node's attributes.
node_node_operations in drupal/core/modules/node/node.admin.inc
Implements hook_node_operations().
node_promote_action in drupal/core/modules/node/node.module
Sets the promote property of a node to 1.

File

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

Code

const NODE_PROMOTED = 1;