public property Node::$sticky

The node sticky status.

Sticky nodes should be displayed at the top of lists in which they appear. The value is either NODE_STICKY or NODE_NOT_STICKY.

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

File

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

Class

Node
Defines the node entity class.

Namespace

Drupal\node\Plugin\Core\Entity

Code

public $sticky;