public function MenuLinkDefault::getTitle in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/lib/Drupal/Core/Menu/MenuLinkDefault.php \Drupal\Core\Menu\MenuLinkDefault::getTitle()
Returns the localized title to be shown for this link.
Return value
string The title of the menu link.
Overrides MenuLinkInterface::getTitle
1 method overrides MenuLinkDefault::getTitle()
- LoginLogoutMenuLink::getTitle in core/
modules/ user/ src/ Plugin/ Menu/ LoginLogoutMenuLink.php - Returns the localized title to be shown for this link.
File
- core/
lib/ Drupal/ Core/ Menu/ MenuLinkDefault.php, line 69 - Contains \Drupal\Core\Menu\MenuLinkDefault.
Class
- MenuLinkDefault
- Provides a default implementation for menu link plugins.
Namespace
Drupal\Core\MenuCode
public function getTitle() {
return (string) $this->pluginDefinition['title'];
}