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: integer

File

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

Class

Node
Defines the node entity class.

Namespace

Drupal\node\Plugin\Core\Entity

Code

public $sticky;