Does area emulation also influence DI / plugins?
We are reading the Magento configurable configuration inside an API call: private function getSpConfig($product) { if ($product->getTypeId() != ‘configurable’) { return null; } /** * @var ConfigurableBlock */ $configurableBlock = $this->_layoutInterface->createBlock(ConfigurableBlock::class); $configurableBlock->setData(‘product’, $product); $spConfig = json_decode($configurableBlock->getJsonConfig(), true); usort($spConfig[‘attributes’], function ($a,… Read More »Does area emulation also influence DI / plugins?