function MenuLinkDefault::getDescription
Same name in other branches
- 9 core/lib/Drupal/Core/Menu/MenuLinkDefault.php \Drupal\Core\Menu\MenuLinkDefault::getDescription()
- 8.9.x core/lib/Drupal/Core/Menu/MenuLinkDefault.php \Drupal\Core\Menu\MenuLinkDefault::getDescription()
- 11.x core/lib/Drupal/Core/Menu/MenuLinkDefault.php \Drupal\Core\Menu\MenuLinkDefault::getDescription()
Overrides MenuLinkInterface::getDescription
File
-
core/
lib/ Drupal/ Core/ Menu/ MenuLinkDefault.php, line 72
Class
- MenuLinkDefault
- Provides a default implementation for menu link plugins.
Namespace
Drupal\Core\MenuCode
public function getDescription() {
return (string) $this->pluginDefinition['description'];
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.