You are here

public function Link::getDescription in Colossal Menu 8

Same name and namespace in other branches
  1. 2.x src/Entity/Link.php \Drupal\colossal_menu\Entity\Link::getDescription()

Returns the description of the menu link.

Return value

string The description of the menu link.

Overrides MenuLinkInterface::getDescription

File

src/Entity/Link.php, line 320

Class

Link
Defines the Link entity.

Namespace

Drupal\colossal_menu\Entity

Code

public function getDescription() {
  return $this
    ->get('title')->value;
}