public function TBMegaMenuBuilderInterface::getMenuItem in The Better Mega Menu 8
Same name and namespace in other branches
- 2.x 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_megamenuCode
public function getMenuItem(string $menu_name, string $plugin_id);