public function Node::isSticky in Drupal 10
Same name and namespace in other branches
- 8 core/modules/node/src/Entity/Node.php \Drupal\node\Entity\Node::isSticky()
- 9 core/modules/node/src/Entity/Node.php \Drupal\node\Entity\Node::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;
}