public function SimpleMegaMenuHelperInterface::getMegaMenuTypeWhichTargetMenu in Simple Mega Menu 8
Same name and namespace in other branches
- 2.0.x src/SimpleMegaMenuHelperInterface.php \Drupal\simple_megamenu\SimpleMegaMenuHelperInterface::getMegaMenuTypeWhichTargetMenu()
Get SimpleMegaMenuType entities which target a menu.
Parameters
string $menu_name: The menu name.
Return value
array An array keyed by the SimpleMegaMenuType id and with the label as value. Otherwise, an empty array.
1 method overrides SimpleMegaMenuHelperInterface::getMegaMenuTypeWhichTargetMenu()
- SimpleMegaMenuHelper::getMegaMenuTypeWhichTargetMenu in src/
SimpleMegaMenuHelper.php - Get SimpleMegaMenuType entities which target a menu.
File
- src/
SimpleMegaMenuHelperInterface.php, line 35
Class
- SimpleMegaMenuHelperInterface
- Interface SimpleMegaMenuHelperInterface.
Namespace
Drupal\simple_megamenuCode
public function getMegaMenuTypeWhichTargetMenu($menu_name);