NodeInterface::PROMOTED

Same name in other branches
  1. 8.9.x core/modules/node/src/NodeInterface.php \Drupal\node\NodeInterface::PROMOTED
  2. 10 core/modules/node/src/NodeInterface.php \Drupal\node\NodeInterface::PROMOTED
  3. 11.x core/modules/node/src/NodeInterface.php \Drupal\node\NodeInterface::PROMOTED

Denotes that the node is promoted to the front page.

File

core/modules/node/src/NodeInterface.php, line 34

Class

NodeInterface
Provides an interface defining a node entity.

Namespace

Drupal\node

Code

const PROMOTED = 1;

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.