public function TBMegaMenuBuilderInterface::getMenus in The Better Mega Menu 8
Same name and namespace in other branches
- 2.x src/TBMegaMenuBuilderInterface.php \Drupal\tb_megamenu\TBMegaMenuBuilderInterface::getMenus()
Get menus that belongs TB mega menu.
Parameters
string $menu_name: The menu machine name.
string $theme: The theme machine name.
Return value
\Drupal\tb_megamenu\MegaMenuConfigInterface|null The configuration entity for this menu or NULL if not found.
1 method overrides TBMegaMenuBuilderInterface::getMenus()
- TBMegaMenuBuilder::getMenus in src/
TBMegaMenuBuilder.php - Get menus that belongs TB mega menu.
File
- src/
TBMegaMenuBuilderInterface.php, line 34
Class
- TBMegaMenuBuilderInterface
- Provides an interface defining a TB MegaMenu builder.
Namespace
Drupal\tb_megamenuCode
public function getMenus(string $menu_name, string $theme);