NodeInterface::setTitle

public NodeInterface::setTitle($title) Sets the node title. Parameters string $title: The node title. Return value \Drupal\node\NodeInterface The called node entity. File core/modules/node/src/NodeInterface.php, line 40 Class NodeInterface Provides an interface defining a node entity. Namespace Drupal\node Code public function setTitle($title);

NodeInterface::setSticky

public NodeInterface::setSticky($sticky) Sets the node sticky status. Parameters bool $sticky: TRUE to set this node to sticky, FALSE to set it to not sticky. Return value \Drupal\node\NodeInterface The called node entity. File core/modules/node/src/NodeInterface.php, line 97 Class NodeInterface Provides an interface defining a node entity. Namespace Drupal\node Code public function setSticky($sticky);

NodeInterface::setRevisionCreationTime

public NodeInterface::setRevisionCreationTime($timestamp) Sets the node revision creation timestamp. Parameters int $timestamp: The UNIX timestamp of when this revision was created. Return value \Drupal\node\NodeInterface The called node entity. Overrides RevisionLogInterface::setRevisionCreationTime File core/modules/node/src/NodeInterface.php, line 137 Class NodeInterface Provides an interface defining a node entity. Namespace Drupal\node Code public function setRevisionCreationTim

NodeInterface::setRevisionAuthorId

public NodeInterface::setRevisionAuthorId($uid) Sets the node revision author. Parameters int $uid: The user ID of the revision author. Return value \Drupal\node\NodeInterface The called node entity. Deprecated in Drupal 8.2.0, will be removed before Drupal 9.0.0. Use \Drupal\Core\Entity\RevisionLogInterface::setRevisionUserId() instead. File core/modules/node/src/NodeInterface.php, line 162 Class NodeInterface Provides an interface defining a node entity. Namespace Drupal\node Co

NodeInterface::setPublished

public NodeInterface::setPublished($published) Sets the published status of a node.. Parameters bool $published: TRUE to set this node to published, FALSE to set it to unpublished. Return value \Drupal\node\NodeInterface The called node entity. File core/modules/node/src/NodeInterface.php, line 118 Class NodeInterface Provides an interface defining a node entity. Namespace Drupal\node Code public function setPublished($published);

NodeInterface::setPromoted

public NodeInterface::setPromoted($promoted) Sets the node promoted status. Parameters bool $promoted: TRUE to set this node to promoted, FALSE to set it to not promoted. Return value \Drupal\node\NodeInterface The called node entity. File core/modules/node/src/NodeInterface.php, line 78 Class NodeInterface Provides an interface defining a node entity. Namespace Drupal\node Code public function setPromoted($promoted);

NodeInterface::setCreatedTime

public NodeInterface::setCreatedTime($timestamp) Sets the node creation timestamp. Parameters int $timestamp: The node creation timestamp. Return value \Drupal\node\NodeInterface The called node entity. File core/modules/node/src/NodeInterface.php, line 59 Class NodeInterface Provides an interface defining a node entity. Namespace Drupal\node Code public function setCreatedTime($timestamp);

NodeInterface::isSticky

public NodeInterface::isSticky() Returns the node sticky status. Return value bool TRUE if the node is sticky. File core/modules/node/src/NodeInterface.php, line 86 Class NodeInterface Provides an interface defining a node entity. Namespace Drupal\node Code public function isSticky();

NodeInterface::isPublished

public NodeInterface::isPublished() Returns the node published status indicator. Unpublished nodes are only visible to their authors and to administrators. Return value bool TRUE if the node is published. File core/modules/node/src/NodeInterface.php, line 107 Class NodeInterface Provides an interface defining a node entity. Namespace Drupal\node Code public function isPublished();

NodeInterface::isPromoted

public NodeInterface::isPromoted() Returns the node promotion status. Return value bool TRUE if the node is promoted. File core/modules/node/src/NodeInterface.php, line 67 Class NodeInterface Provides an interface defining a node entity. Namespace Drupal\node Code public function isPromoted();