function NodeInterface::isPromoted

Same name in other branches
  1. 8.9.x core/modules/node/src/NodeInterface.php \Drupal\node\NodeInterface::isPromoted()
  2. 10 core/modules/node/src/NodeInterface.php \Drupal\node\NodeInterface::isPromoted()
  3. 11.x core/modules/node/src/NodeInterface.php \Drupal\node\NodeInterface::isPromoted()

Returns the node promotion status.

Return value

bool TRUE if the node is promoted.

1 method overrides NodeInterface::isPromoted()
Node::isPromoted in core/modules/node/src/Entity/Node.php
Returns the node promotion status.

File

core/modules/node/src/NodeInterface.php, line 98

Class

NodeInterface
Provides an interface defining a node entity.

Namespace

Drupal\node

Code

public function isPromoted();

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.