public Node::isSticky()
Returns the node sticky status.
Return value
bool TRUE if the node is sticky.
Overrides NodeInterface::isSticky
File
- core/modules/node/src/Entity/Node.php, line 234
Class
- Node
- Defines the node entity class.
Namespace
Drupal\node\Entity
Code
1 2 3 | public function isSticky() { return (bool) $this ->get( 'sticky' )->value; } |
Please login to continue.