public function MenuLinkInterface::getDescription in Zircon Profile 8.0
Same name and namespace in other branches
- 8 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 - Returns a URL object containing either the external path or route.
6 methods override MenuLinkInterface::getDescription()
- InaccessibleMenuLink::getDescription in core/
lib/ Drupal/ Core/ Menu/ InaccessibleMenuLink.php - Returns the description of the menu link.
- MenuLinkContent::getDescription in core/
modules/ menu_link_content/ src/ Plugin/ Menu/ MenuLinkContent.php - Returns the description of the menu link.
- MenuLinkDefault::getDescription in core/
lib/ Drupal/ Core/ Menu/ MenuLinkDefault.php - Returns the description of the menu link.
- MenuLinkMock::getDescription in core/
tests/ Drupal/ Tests/ Core/ Menu/ MenuLinkMock.php - Returns the description of the menu link.
- TaxonomyMenuMenuLink::getDescription in modules/
taxonomy_menu/ src/ Plugin/ Menu/ TaxonomyMenuMenuLink.php - Returns the description of the menu link.
File
- core/
lib/ Drupal/ Core/ Menu/ MenuLinkInterface.php, line 41 - Contains \Drupal\Core\Menu\MenuLinkInterface.
Class
- MenuLinkInterface
- Defines an interface for classes providing a type of menu link.
Namespace
Drupal\Core\MenuCode
public function getDescription();