function MenuLinkInterface::getDescription
Same name in other branches
- 9 core/lib/Drupal/Core/Menu/MenuLinkInterface.php \Drupal\Core\Menu\MenuLinkInterface::getDescription()
- 8.9.x core/lib/Drupal/Core/Menu/MenuLinkInterface.php \Drupal\Core\Menu\MenuLinkInterface::getDescription()
- 10 core/lib/Drupal/Core/Menu/MenuLinkInterface.php \Drupal\Core\Menu\MenuLinkInterface::getDescription()
Returns the description of the menu link.
Return value
string The description of the menu link.
1 call to MenuLinkInterface::getDescription()
- MenuLinkBase::getUrlObject in core/
lib/ Drupal/ Core/ Menu/ MenuLinkBase.php
5 methods override MenuLinkInterface::getDescription()
- InaccessibleMenuLink::getDescription in core/
lib/ Drupal/ Core/ Menu/ InaccessibleMenuLink.php - MenuLinkContent::getDescription in core/
modules/ menu_link_content/ src/ Plugin/ Menu/ MenuLinkContent.php - MenuLinkDefault::getDescription in core/
lib/ Drupal/ Core/ Menu/ MenuLinkDefault.php - MenuLinkMock::getDescription in core/
tests/ Drupal/ Tests/ Core/ Menu/ MenuLinkMock.php - ViewsMenuLink::getDescription in core/
modules/ views/ src/ Plugin/ Menu/ ViewsMenuLink.php
File
-
core/
lib/ Drupal/ Core/ Menu/ MenuLinkInterface.php, line 37
Class
- MenuLinkInterface
- Defines an interface for classes providing a type of menu link.
Namespace
Drupal\Core\MenuCode
public function getDescription();
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.