public MenuLinkContent::getMenuName()
Gets the menu name of the custom menu link.
Return value
string The menu ID.
Overrides MenuLinkContentInterface::getMenuName
File
- core/modules/menu_link_content/src/Entity/MenuLinkContent.php, line 84
Class
- MenuLinkContent
- Defines the menu link content entity class.
Namespace
Drupal\menu_link_content\Entity
Code
public function getMenuName() { return $this->get('menu_name')->value; }
Please login to continue.