public function MegaMenuConfigInterface::setMenuConfig in The Better Mega Menu 2.x
Same name and namespace in other branches
- 8 src/MegaMenuConfigInterface.php \Drupal\tb_megamenu\MegaMenuConfigInterface::setMenuConfig()
Converts the menu config properties to json and sets the menu property.
Parameters
array|object $menuConfig: The menu configuration array / stdClass.
1 method overrides MegaMenuConfigInterface::setMenuConfig()
- MegaMenuConfig::setMenuConfig in src/
Entity/ MegaMenuConfig.php
File
- src/
MegaMenuConfigInterface.php, line 58
Class
- MegaMenuConfigInterface
- Provides an interface defining an megamenu config entity.
Namespace
Drupal\tb_megamenuCode
public function setMenuConfig($menuConfig);