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);
Please login to continue.