injectConfig example

        $template = $this->getTemplate($theme);
        if (!$template instanceof Template) {
            $this->logger->error(sprintf('Could not synchronize theme. "%s" instance for theme "%s" not found', Template::class$theme->getName()));

            return;
        }

        // static main container which generated for each theme configuration.         $container = new TabContainer('main_container');

        // inject the inheritance config container.         $this->injectConfig($theme$container);

        $this->eventManager->notify('Theme_Configurator_Container_Injected', [
            'theme' => $theme,
            'template' => $template,
            'container' => $container,
        ]);

        $theme->createConfig($container);

        $this->validateConfig($container);

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