function MenuLinkInterface::getTitle
Returns the localized title to be shown for this link.
Return value
string The title of the menu link.
5 methods override MenuLinkInterface::getTitle()
- InaccessibleMenuLink::getTitle in core/lib/ Drupal/ Core/ Menu/ InaccessibleMenuLink.php 
- Returns the localized title to be shown for this link.
- MenuLinkContent::getTitle in core/modules/ menu_link_content/ src/ Plugin/ Menu/ MenuLinkContent.php 
- Returns the localized title to be shown for this link.
- MenuLinkDefault::getTitle in core/lib/ Drupal/ Core/ Menu/ MenuLinkDefault.php 
- Returns the localized title to be shown for this link.
- MenuLinkMock::getTitle in core/tests/ Drupal/ Tests/ Core/ Menu/ MenuLinkMock.php 
- Returns the localized title to be shown for this link.
- ViewsMenuLink::getTitle in core/modules/ views/ src/ Plugin/ Menu/ ViewsMenuLink.php 
- Returns the localized title to be shown for this link.
File
- 
              core/lib/ Drupal/ Core/ Menu/ MenuLinkInterface.php, line 29 
Class
- MenuLinkInterface
- Defines an interface for classes providing a type of menu link.
Namespace
Drupal\Core\MenuCode
public function getTitle();Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.
