public MenuLinkContent::getDescription()
Gets the description of the menu link for the UI.
Return value
string The description to use on admin pages or as a title attribute.
Overrides MenuLinkContentInterface::getDescription
File
- core/modules/menu_link_content/src/Entity/MenuLinkContent.php, line 91
Class
- MenuLinkContent
- Defines the menu link content entity class.
Namespace
Drupal\menu_link_content\Entity
Code
public function getDescription() { return $this->get('description')->value; }
Please login to continue.