Same name and namespace in other branches
  1. 8.9.x core/modules/node/src/NodeInterface.php \Drupal\node\NodeInterface::isSticky()
  2. 9 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();