public function MegaMenuConfigInterface::setMenu in The Better Mega Menu 2.x
Same name and namespace in other branches
- 8 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_megamenuCode
public function setMenu($menuName);