public function NodeInterface::setTitle in Drupal 10
Same name and namespace in other branches
- 8 core/modules/node/src/NodeInterface.php \Drupal\node\NodeInterface::setTitle()
- 9 core/modules/node/src/NodeInterface.php \Drupal\node\NodeInterface::setTitle()
Sets the node title.
Parameters
string $title: The node title.
Return value
$this The called node entity.
File
- core/
modules/ node/ src/ NodeInterface.php, line 71
Class
- NodeInterface
- Provides an interface defining a node entity.
Namespace
Drupal\nodeCode
public function setTitle($title);