You are here

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

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

Code

public function setBlockConfig($blockConfig);