public function MenuLinkContentInterface::getDescription in Drupal 9
Same name and namespace in other branches
- 8 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_contentCode
public function getDescription();