public function MegaMenuConfig::setBlockConfig in The Better Mega Menu 8
Same name and namespace in other branches
- 2.x 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\EntityCode
public function setBlockConfig($blockConfig) {
$this->block_config = Json::encode($blockConfig);
}