function MenuLinkContentInterface::getTitle

Same name in other branches
  1. 9 core/modules/menu_link_content/src/MenuLinkContentInterface.php \Drupal\menu_link_content\MenuLinkContentInterface::getTitle()
  2. 10 core/modules/menu_link_content/src/MenuLinkContentInterface.php \Drupal\menu_link_content\MenuLinkContentInterface::getTitle()
  3. 11.x core/modules/menu_link_content/src/MenuLinkContentInterface.php \Drupal\menu_link_content\MenuLinkContentInterface::getTitle()

Gets the title of the menu link.

Return value

string The title of the link.

1 method overrides MenuLinkContentInterface::getTitle()
MenuLinkContent::getTitle in core/modules/menu_link_content/src/Entity/MenuLinkContent.php
Gets the title of the menu link.

File

core/modules/menu_link_content/src/MenuLinkContentInterface.php, line 26

Class

MenuLinkContentInterface
Defines an interface for custom menu links.

Namespace

Drupal\menu_link_content

Code

public function getTitle();

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.