public function TBMegaMenuBuilderInterface::findMenuItem in The Better Mega Menu 2.x
Same name and namespace in other branches
- 8 src/TBMegaMenuBuilderInterface.php \Drupal\tb_megamenu\TBMegaMenuBuilderInterface::findMenuItem()
Search by menu item.
Parameters
array $tree: The menu tree.
string $plugin_id: The item plugin id.
Return value
\Drupal\Core\Menu\MenuLinkTreeElement The menu link element.
1 method overrides TBMegaMenuBuilderInterface::findMenuItem()
- TBMegaMenuBuilder::findMenuItem in src/
TBMegaMenuBuilder.php - Search by menu item.
File
- src/
TBMegaMenuBuilderInterface.php, line 60
Class
- TBMegaMenuBuilderInterface
- Provides an interface defining a TB MegaMenu builder.
Namespace
Drupal\tb_megamenuCode
public function findMenuItem(array $tree, string $plugin_id);