You are here

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

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

Code

public function setMenuConfig($menuConfig);