You are here

public function MenuLinkInterface::getDescription in Drupal 8

Same name and namespace in other branches
  1. 9 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.
5 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.
ViewsMenuLink::getDescription in core/modules/views/src/Plugin/Menu/ViewsMenuLink.php
Returns the description of the menu link.

File

core/lib/Drupal/Core/Menu/MenuLinkInterface.php, line 36

Class

MenuLinkInterface
Defines an interface for classes providing a type of menu link.

Namespace

Drupal\Core\Menu

Code

public function getDescription();