public function SimpleMegaMenuHelperInterface::menuIsTargetedByMegaMenuType in Simple Mega Menu 8
Same name and namespace in other branches
- 2.0.x src/SimpleMegaMenuHelperInterface.php \Drupal\simple_megamenu\SimpleMegaMenuHelperInterface::menuIsTargetedByMegaMenuType()
Is the menu is referenced by a SimpleMegaMenuType entity.
Parameters
string $menu_name: The menu name.
Return value
bool TRUE, if the menu is targeted by a SimpleMegaMenuType entity. Otherwise, FALSE.
1 method overrides SimpleMegaMenuHelperInterface::menuIsTargetedByMegaMenuType()
- SimpleMegaMenuHelper::menuIsTargetedByMegaMenuType in src/
SimpleMegaMenuHelper.php - Is the menu is referenced by a SimpleMegaMenuType entity.
File
- src/
SimpleMegaMenuHelperInterface.php, line 47
Class
- SimpleMegaMenuHelperInterface
- Interface SimpleMegaMenuHelperInterface.
Namespace
Drupal\simple_megamenuCode
public function menuIsTargetedByMegaMenuType($menu_name);