MenuLinkBase::getMenuName

public 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 38

Class

MenuLinkBase
Defines a base menu link class.

Namespace

Drupal\Core\Menu

Code

public function getMenuName() {
  return $this->pluginDefinition['menu_name'];
}
doc_Drupal
2016-10-29 09:26:23
Comments
Leave a Comment

Please login to continue.