Same name and namespace in other branches
  1. 8.9.x core/modules/menu_link_content/src/MenuLinkContentInterface.php \Drupal\menu_link_content\MenuLinkContentInterface::getMenuName()
  2. 9 core/modules/menu_link_content/src/MenuLinkContentInterface.php \Drupal\menu_link_content\MenuLinkContentInterface::getMenuName()

Gets the menu name of the custom menu link.

Return value

string The menu ID.

1 method overrides MenuLinkContentInterface::getMenuName()
MenuLinkContent::getMenuName in core/modules/menu_link_content/src/Entity/MenuLinkContent.php
Gets the menu name of the custom menu link.

File

core/modules/menu_link_content/src/MenuLinkContentInterface.php, line 42

Class

MenuLinkContentInterface
Defines an interface for custom menu links.

Namespace

Drupal\menu_link_content

Code

public function getMenuName();