You are here

public function SimpleMegaMenuHelperInterface::menuIsTargetedByMegaMenuType in Simple Mega Menu 8

Same name and namespace in other branches
  1. 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_megamenu

Code

public function menuIsTargetedByMegaMenuType($menu_name);