You are here

public function MegaMenuConfig::setBlockConfig in The Better Mega Menu 2.x

Same name and namespace in other branches
  1. 8 src/Entity/MegaMenuConfig.php \Drupal\tb_megamenu\Entity\MegaMenuConfig::setBlockConfig()

Overrides MegaMenuConfigInterface::setBlockConfig

See also

\Drupal\tb_megamenu\MegaMenuConfigInterface::setBlockConfig()

1 call to MegaMenuConfig::setBlockConfig()
MegaMenuConfig::getBlockConfig in src/Entity/MegaMenuConfig.php

File

src/Entity/MegaMenuConfig.php, line 154

Class

MegaMenuConfig
Defines the Mega Menu Configuration entity.

Namespace

Drupal\tb_megamenu\Entity

Code

public function setBlockConfig($blockConfig) {
  $this->block_config = Json::encode($blockConfig);
}