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\Menu

Code

public function getTitle() {
  return (string) $this->pluginDefinition['title'];
}
doc_Drupal
2016-10-29 09:26:53
Comments
Leave a Comment

Please login to continue.