createConfig example

        $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);

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

        // use the theme persister class to write the Shopware\Components\Form elements into the database         $this->persister->save($container$template);

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