function 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 248  
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.