You are here

public function MenuLinkBase::getMenuName in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/lib/Drupal/Core/Menu/MenuLinkBase.php \Drupal\Core\Menu\MenuLinkBase::getMenuName()

Returns the menu name of the menu link.

Return value

string The menu name of the menu link.

Overrides MenuLinkInterface::getMenuName

File

core/lib/Drupal/Core/Menu/MenuLinkBase.php, line 43
Contains \Drupal\Core\Menu\MenuLinkBase.

Class

MenuLinkBase
Defines a base menu link class.

Namespace

Drupal\Core\Menu

Code

public function getMenuName() {
  return $this->pluginDefinition['menu_name'];
}