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\Menu

Code

public function getDescription() {
  return (string) $this->pluginDefinition['description'];
}
doc_Drupal
2016-10-29 09:26:53
Comments
Leave a Comment

Please login to continue.