public property Node::$promote

The node promotion status.

Promoted nodes should be displayed on the front page of the site. The value is either NODE_PROMOTED or NODE_NOT_PROMOTED.

Type: \Drupal\Core\Entity\Field\FieldInterface

File

drupal/core/modules/node/lib/Drupal/node/Plugin/Core/Entity/Node.php, line 153
Definition of Drupal\node\Plugin\Core\Entity\Node.

Class

Node
Defines the node entity class.

Namespace

Drupal\node\Plugin\Core\Entity

Code

public $promote;