You are here

public function MenuLinkDefault::getDescription in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 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 76
Contains \Drupal\Core\Menu\MenuLinkDefault.

Class

MenuLinkDefault
Provides a default implementation for menu link plugins.

Namespace

Drupal\Core\Menu

Code

public function getDescription() {
  return (string) $this->pluginDefinition['description'];
}