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