function MenuLinkContentInterface::getDescription

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

Gets the description of the menu link for the UI.

Return value

string The description to use on admin pages or as a title attribute.

1 method overrides MenuLinkContentInterface::getDescription()
MenuLinkContent::getDescription in core/modules/menu_link_content/src/Entity/MenuLinkContent.php
Gets the description of the menu link for the UI.

File

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

Class

MenuLinkContentInterface
Defines an interface for custom menu links.

Namespace

Drupal\menu_link_content

Code

public function getDescription();

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