hasTemplateConfigSet example


        $template = $this->getRepository()->find($data['id']);
        if (!$template instanceof Template) {
            throw new ModelNotFoundException(Template::class$data['id']);
        }

        $shop = $this->getManager()->find(
            Shop::class,
            $this->Request()->getParam('shopId')
        );

        $data['hasConfigSet'] = $this->hasTemplateConfigSet($template);

        $data['configLayout'] = $this->container->get(Service::class)->getLayout(
            $template,
            $shop
        );

        $data['themeInfo'] = $this->getThemeInfo($template);

        return $this->get('events')->filter('Shopware_Theme_Detail_Loaded', $data[
            'shop' => $shop,
            'template' => $template,
        ]);
Home | Imprint | This part of the site doesn't use cookies.