function Node::isSticky
Same name in other branches
- 8.9.x core/modules/node/src/Entity/Node.php \Drupal\node\Entity\Node::isSticky()
- 10 core/modules/node/src/Entity/Node.php \Drupal\node\Entity\Node::isSticky()
- 11.x core/modules/node/src/Entity/Node.php \Drupal\node\Entity\Node::isSticky()
Overrides NodeInterface::isSticky
File
-
core/
modules/ node/ src/ Entity/ Node.php, line 246
Class
- Node
- Defines the node entity class.
Namespace
Drupal\node\EntityCode
public function isSticky() {
return (bool) $this->get('sticky')->value;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.