resolveMediaIds example

if (!$pluginConfig) {
            throw new InvalidThemeException($themeId);
        }

        $pluginConfig = clone $pluginConfig;

        $config = $this->loadCompileConfig($themeId$context);

        $pluginConfig->setThemeConfig($config);

        $this->resolveMediaIds($pluginConfig$context);

        return $pluginConfig;
    }

    /** * @return array<string, mixed> */
    private function loadCompileConfig(string $themeId, Context $context): array
    {
        $config = $this->loadRecursiveConfig($themeId$context);

        
Home | Imprint | This part of the site doesn't use cookies.