You are here

public function SimpleMegaMenuTypeInterface::setTargetMenu in Simple Mega Menu 2.0.x

Same name and namespace in other branches
  1. 8 src/Entity/SimpleMegaMenuTypeInterface.php \Drupal\simple_megamenu\Entity\SimpleMegaMenuTypeInterface::setTargetMenu()

Sets the target menus.

Parameters

array $target_menu: The target menus.

Return value

\Drupal\simple_megamenu\Entity\SimpleMegaMenuTypeInterface The SimpleMegaMenuType.

1 method overrides SimpleMegaMenuTypeInterface::setTargetMenu()
SimpleMegaMenuType::setTargetMenu in src/Entity/SimpleMegaMenuType.php
Sets the target menus.

File

src/Entity/SimpleMegaMenuTypeInterface.php, line 29

Class

SimpleMegaMenuTypeInterface
Provides an interface for defining Simple mega menu type entities.

Namespace

Drupal\simple_megamenu\Entity

Code

public function setTargetMenu(array $target_menu);