public function MenuLinkDefault::getTitle
public MenuLinkDefault::getTitle()
Returns the localized title to be shown for this link.
Return value
string The title of the menu link.
Overrides MenuLinkInterface::getTitle
File
- core/lib/Drupal/Core/Menu/MenuLinkDefault.php, line 64
Class
- MenuLinkDefault
- Provides a default implementation for menu link plugins.
Namespace
Drupal\Core\MenuCode
public function getTitle() { return (string) $this->pluginDefinition['title']; }
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Menu!MenuLinkDefault.php/function/MenuLinkDefault::getTitle/8.1.x