public function MenuLinkInterface::getDescription in Drupal 10
Same name and namespace in other branches
- 8 core/lib/Drupal/Core/Menu/MenuLinkInterface.php \Drupal\Core\Menu\MenuLinkInterface::getDescription()
- 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 method overrides MenuLinkInterface::getDescription()
- MenuLinkMock::getDescription in core/
tests/ Drupal/ Tests/ Core/ Menu/ MenuLinkMock.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\MenuCode
public function getDescription();