You are here

public function MegaMenuConfigInterface::setMenu in The Better Mega Menu 8

Same name and namespace in other branches
  1. 2.x src/MegaMenuConfigInterface.php \Drupal\tb_megamenu\MegaMenuConfigInterface::setMenu()

Sets the menu property and the first part of the id is it is not set.

Parameters

string $menuName: The menu machine name.

1 method overrides MegaMenuConfigInterface::setMenu()
MegaMenuConfig::setMenu in src/Entity/MegaMenuConfig.php

File

src/MegaMenuConfigInterface.php, line 18

Class

MegaMenuConfigInterface
Provides an interface defining an megamenu config entity.

Namespace

Drupal\tb_megamenu

Code

public function setMenu($menuName);