You are here

public function MenuPositionLink::getDescription in Menu Position 8

Returns the description of the menu link.

Return value

string The description of the menu link.

Overrides MenuLinkInterface::getDescription

File

src/Plugin/Menu/MenuPositionLink.php, line 168

Class

MenuPositionLink
Defines menu links provided by menu position rules.

Namespace

Drupal\menu_position\Plugin\Menu

Code

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