public function MenuLinkDefault::getDescription in Drupal 9
Same name and namespace in other branches
- 8 core/lib/Drupal/Core/Menu/MenuLinkDefault.php \Drupal\Core\Menu\MenuLinkDefault::getDescription()
Returns the description of the menu link.
Return value
string The description of the menu link.
Overrides MenuLinkInterface::getDescription
File
- core/
lib/ Drupal/ Core/ Menu/ MenuLinkDefault.php, line 71
Class
- MenuLinkDefault
- Provides a default implementation for menu link plugins.
Namespace
Drupal\Core\MenuCode
public function getDescription() {
return (string) $this->pluginDefinition['description'];
}