public function MenuLinkDefault::getDescription
public 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']; }
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Menu!MenuLinkDefault.php/function/MenuLinkDefault::getDescription/8.1.x