You are here

public function MicrositeMenuItem::getTitle in Entity Reference Hierarchy 3.x

Same name and namespace in other branches
  1. 8.2 modules/entity_hierarchy_microsite/src/Plugin/Menu/MicrositeMenuItem.php \Drupal\entity_hierarchy_microsite\Plugin\Menu\MicrositeMenuItem::getTitle()

Returns the localized title to be shown for this link.

Return value

string The title of the menu link.

Overrides MenuLinkInterface::getTitle

1 call to MicrositeMenuItem::getTitle()
MicrositeMenuItem::getOverrideEntity in modules/entity_hierarchy_microsite/src/Plugin/Menu/MicrositeMenuItem.php
Loads the override entity associated with this menu link.

File

modules/entity_hierarchy_microsite/src/Plugin/Menu/MicrositeMenuItem.php, line 196

Class

MicrositeMenuItem
Defines a class for a menu item based on hierarchy.

Namespace

Drupal\entity_hierarchy_microsite\Plugin\Menu

Code

public function getTitle() {
  return $this->pluginDefinition['title'];
}