You are here

public function TBMegaMenuBuilderInterface::getMenuItem in The Better Mega Menu 2.x

Same name and namespace in other branches
  1. 8 src/TBMegaMenuBuilderInterface.php \Drupal\tb_megamenu\TBMegaMenuBuilderInterface::getMenuItem()

Find a menu item.

Parameters

string $menu_name: Menu machine name.

string $plugin_id: The menu item plugin id.

Return value

\Drupal\Core\Menu\MenuLinkTreeElement The menu item element.

1 method overrides TBMegaMenuBuilderInterface::getMenuItem()
TBMegaMenuBuilder::getMenuItem in src/TBMegaMenuBuilder.php
Find a menu item.

File

src/TBMegaMenuBuilderInterface.php, line 47

Class

TBMegaMenuBuilderInterface
Provides an interface defining a TB MegaMenu builder.

Namespace

Drupal\tb_megamenu

Code

public function getMenuItem(string $menu_name, string $plugin_id);