public Node::getTitle()
Gets the node title.
Return value
string Title of the node.
Overrides NodeInterface::getTitle
File
- core/modules/node/src/Entity/Node.php, line 188
Class
- Node
- Defines the node entity class.
Namespace
Drupal\node\Entity
Code
public function getTitle() { return $this->get('title')->value; }
Please login to continue.