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