function NodeInterface::isSticky

Same name in other branches
  1. 9 core/modules/node/src/NodeInterface.php \Drupal\node\NodeInterface::isSticky()
  2. 8.9.x core/modules/node/src/NodeInterface.php \Drupal\node\NodeInterface::isSticky()
  3. 10 core/modules/node/src/NodeInterface.php \Drupal\node\NodeInterface::isSticky()

Returns the node sticky status.

Return value

bool TRUE if the node is sticky.

1 method overrides NodeInterface::isSticky()
Node::isSticky in core/modules/node/src/Entity/Node.php
Returns the node sticky status.

File

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

Class

NodeInterface
Provides an interface defining a node entity.

Namespace

Drupal\node

Code

public function isSticky();

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