public function MenuLinkField::getDescription in Menu Link (Field) 8
Same name and namespace in other branches
- 2.0.x src/Plugin/Menu/MenuLinkField.php \Drupal\menu_link\Plugin\Menu\MenuLinkField::getDescription()
Returns the description of the menu link.
Return value
string The description of the menu link.
Overrides MenuLinkInterface::getDescription
1 call to MenuLinkField::getDescription()
- MenuLinkField::getUrlObject in src/
Plugin/ Menu/ MenuLinkField.php - Returns a URL object containing either the external path or route.
File
- src/
Plugin/ Menu/ MenuLinkField.php, line 131
Class
- MenuLinkField
- Provides a menu link plugin for field-based menu links.
Namespace
Drupal\menu_link\Plugin\MenuCode
public function getDescription() {
return $this
->getProperty('description');
}