You are here

public function LanguageSwitchMenuLink::getDescription in Cheeseburger Menu 5.0.x

Returns the description of the menu link.

Return value

string The description of the menu link.

Overrides MenuLinkInterface::getDescription

File

src/Plugin/Menu/LanguageSwitchMenuLink.php, line 116

Class

LanguageSwitchMenuLink
Language swithcher link - dynamically changes based on langcode.

Namespace

Drupal\cheeseburger_menu\Plugin\Menu

Code

public function getDescription() {
  return $this
    ->t('Menu link to current page on certain language');
}