constant NODE_PROMOTED

Denotes that the node is promoted to the front page.

3 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.
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.
PromoteNode::execute in drupal/core/modules/node/lib/Drupal/node/Plugin/Action/PromoteNode.php
Executes the plugin.

File

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

Code

const NODE_PROMOTED = 1;