public MenuLinkContent::getTitle()
Gets the title of the menu link.
Return value
string The title of the link.
Overrides MenuLinkContentInterface::getTitle
File
- core/modules/menu_link_content/src/Entity/MenuLinkContent.php, line 70
Class
- MenuLinkContent
- Defines the menu link content entity class.
Namespace
Drupal\menu_link_content\Entity
Code
public function getTitle() { return $this->get('title')->value; }
Please login to continue.