You are here

constant NODE_PROMOTED in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/node/node.module \NODE_PROMOTED

Denotes that the node is promoted to the front page.

7 uses of NODE_PROMOTED
EntityFilteringThemeTest::setUp in core/modules/system/src/Tests/Theme/EntityFilteringThemeTest.php
Sets up a Drupal site for running functional and integration tests.
LocaleContentTest::testContentTypeDirLang in core/modules/locale/src/Tests/LocaleContentTest.php
Test if a dir and lang tags exist in node's attributes.
Node::setPromoted in core/modules/node/src/Entity/Node.php
Sets the node promoted status.
NodeLinksTest::testHideLinks in core/modules/node/src/Tests/NodeLinksTest.php
Tests that the links can be hidden in the view display settings.
NoJavaScriptAnonymousTest::testNoJavaScript in core/modules/system/src/Tests/Common/NoJavaScriptAnonymousTest.php
Tests that anonymous users are not served any JavaScript.

... See full list

File

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

Code

const NODE_PROMOTED = 1;