<?php declare(strict_types=1); return [
namespace LandingPageShowHideSwitch\Subscriber; NavigationPageLoadedEvent::class => 'onNavigationPageLoaded',
LandingPageLoadedEvent::class => 'onLandingPageLoaded',
class LandingPageSubscriber implements EventSubscriberInterface StorefrontRenderEvent::class => 'onStorefrontRender',
{ ];
public static function getSubscribedEvents(): array }
{
return [ public function onNavigationPageLoaded(NavigationPageLoadedEvent $event): void
NavigationPageLoadedEvent::class => 'onNavigationPageLoaded', {
LandingPageLoadedEvent::class => 'onLandingPageLoaded', $fields = $event->getPage()->getCategory()?->getCustomFields() ?? [];
StorefrontRenderEvent::class => 'onStorefrontRender', $event->getPage()->addExtension('lp_switch', new ArrayEntity($fields));
]; }
} }
public function onNavigationPageLoaded(NavigationPageLoadedEvent $event): void {% sw_extends '@Storefront/storefront/layout/meta.html.twig' %}
{ {% block layout_head_stylesheet %}{{ parent() }}{% endblock %}
$fields = $event->getPage()->getCategory()?->getCustomFields() ?? [];
$event->getPage()->addExtension('lp_switch', new ArrayEntity($fields)); $ bin/console plugin:refresh && bin/console plugin:install --activate ErniezFeature
} $ bin/console dal:refresh:index
} $ bin/console theme:compile
$ bin/console cache:clear
{% sw_extends '@Storefront/storefront/layout/meta.html.twig' %}
{% block layout_head_stylesheet %}{{ parent() }}{% endblock %} $criteria = (new Criteria())->addFilter(new EqualsFilter('name', self::SET_NAME));
$setRepo->upsert([$set], $context);
$ bin/console plugin:refresh && bin/console plugin:install --activate ErniezFeature
$ bin/console dal:refresh:index Shopware.Component.register('sw-cms-el-lp-legal-modals', {
$ bin/console theme:compile template, mixins: ['cms-element'],
$ bin/console cache:clear created() { this.initElementConfig('lp-legal-modals'); },
});
$criteria = (new Criteria())->addFilter(new EqualsFilter('name', self::SET_NAME));
$setRepo->upsert([$set], $context); <?php declare(strict_types=1);
namespace LandingPageShowHideSwitch\Subscriber;
Shopware.Component.register('sw-cms-el-lp-legal-modals', {
template, mixins: ['cms-element'], class LandingPageSubscriber implements EventSubscriberInterface
created() { this.initElementConfig('lp-legal-modals'); }, {
}); public static function getSubscribedEvents(): array
{
<?php declare(strict_types=1); return [
namespace LandingPageShowHideSwitch\Subscriber; NavigationPageLoadedEvent::class => 'onNavigationPageLoaded',
LandingPageLoadedEvent::class => 'onLandingPageLoaded',
class LandingPageSubscriber implements EventSubscriberInterface StorefrontRenderEvent::class => 'onStorefrontRender',
{ ];
public static function getSubscribedEvents(): array }
{
return [ public function onNavigationPageLoaded(NavigationPageLoadedEvent $event): void
NavigationPageLoadedEvent::class => 'onNavigationPageLoaded', {
LandingPageLoadedEvent::class => 'onLandingPageLoaded', $fields = $event->getPage()->getCategory()?->getCustomFields() ?? [];
StorefrontRenderEvent::class => 'onStorefrontRender', $event->getPage()->addExtension('lp_switch', new ArrayEntity($fields));
]; }
} }
public function onNavigationPageLoaded(NavigationPageLoadedEvent $event): void {% sw_extends '@Storefront/storefront/layout/meta.html.twig' %}
{ {% block layout_head_stylesheet %}{{ parent() }}{% endblock %}
$fields = $event->getPage()->getCategory()?->getCustomFields() ?? [];
$event->getPage()->addExtension('lp_switch', new ArrayEntity($fields)); $ bin/console plugin:refresh && bin/console plugin:install --activate ErniezFeature
} $ bin/console dal:refresh:index
} $ bin/console theme:compile
$ bin/console cache:clear
{% sw_extends '@Storefront/storefront/layout/meta.html.twig' %}
{% block layout_head_stylesheet %}{{ parent() }}{% endblock %} $criteria = (new Criteria())->addFilter(new EqualsFilter('name', self::SET_NAME));
$setRepo->upsert([$set], $context);
$ bin/console plugin:refresh && bin/console plugin:install --activate ErniezFeature
$ bin/console dal:refresh:index Shopware.Component.register('sw-cms-el-lp-legal-modals', {
$ bin/console theme:compile template, mixins: ['cms-element'],
$ bin/console cache:clear created() { this.initElementConfig('lp-legal-modals'); },
});
$criteria = (new Criteria())->addFilter(new EqualsFilter('name', self::SET_NAME));
$setRepo->upsert([$set], $context); <?php declare(strict_types=1);
namespace LandingPageShowHideSwitch\Subscriber;
Shopware.Component.register('sw-cms-el-lp-legal-modals', {
template, mixins: ['cms-element'], class LandingPageSubscriber implements EventSubscriberInterface
created() { this.initElementConfig('lp-legal-modals'); }, {
}); public static function getSubscribedEvents(): array
{
<?php declare(strict_types=1); return [
namespace LandingPageShowHideSwitch\Subscriber; NavigationPageLoadedEvent::class => 'onNavigationPageLoaded',
LandingPageLoadedEvent::class => 'onLandingPageLoaded',
class LandingPageSubscriber implements EventSubscriberInterface StorefrontRenderEvent::class => 'onStorefrontRender',
{ ];
public static function getSubscribedEvents(): array }
{
return [ public function onNavigationPageLoaded(NavigationPageLoadedEvent $event): void
NavigationPageLoadedEvent::class => 'onNavigationPageLoaded', {
LandingPageLoadedEvent::class => 'onLandingPageLoaded', $fields = $event->getPage()->getCategory()?->getCustomFields() ?? [];
StorefrontRenderEvent::class => 'onStorefrontRender', $event->getPage()->addExtension('lp_switch', new ArrayEntity($fields));
]; }
} }
public function onNavigationPageLoaded(NavigationPageLoadedEvent $event): void {% sw_extends '@Storefront/storefront/layout/meta.html.twig' %}
{ {% block layout_head_stylesheet %}{{ parent() }}{% endblock %}
$fields = $event->getPage()->getCategory()?->getCustomFields() ?? [];
$event->getPage()->addExtension('lp_switch', new ArrayEntity($fields)); $ bin/console plugin:refresh && bin/console plugin:install --activate ErniezFeature
} $ bin/console dal:refresh:index
} $ bin/console theme:compile
$ bin/console cache:clear
{% sw_extends '@Storefront/storefront/layout/meta.html.twig' %}
{% block layout_head_stylesheet %}{{ parent() }}{% endblock %} $criteria = (new Criteria())->addFilter(new EqualsFilter('name', self::SET_NAME));
$setRepo->upsert([$set], $context);
$ bin/console plugin:refresh && bin/console plugin:install --activate ErniezFeature
$ bin/console dal:refresh:index Shopware.Component.register('sw-cms-el-lp-legal-modals', {
$ bin/console theme:compile template, mixins: ['cms-element'],
$ bin/console cache:clear created() { this.initElementConfig('lp-legal-modals'); },
});
$criteria = (new Criteria())->addFilter(new EqualsFilter('name', self::SET_NAME));
$setRepo->upsert([$set], $context); <?php declare(strict_types=1);
namespace LandingPageShowHideSwitch\Subscriber;
Shopware.Component.register('sw-cms-el-lp-legal-modals', {
template, mixins: ['cms-element'], class LandingPageSubscriber implements EventSubscriberInterface
created() { this.initElementConfig('lp-legal-modals'); }, {
}); public static function getSubscribedEvents(): array
{
<?php declare(strict_types=1); return [
namespace LandingPageShowHideSwitch\Subscriber; NavigationPageLoadedEvent::class => 'onNavigationPageLoaded',
LandingPageLoadedEvent::class => 'onLandingPageLoaded',
class LandingPageSubscriber implements EventSubscriberInterface StorefrontRenderEvent::class => 'onStorefrontRender',
{ ];
public static function getSubscribedEvents(): array }
{
return [ public function onNavigationPageLoaded(NavigationPageLoadedEvent $event): void
NavigationPageLoadedEvent::class => 'onNavigationPageLoaded', {
LandingPageLoadedEvent::class => 'onLandingPageLoaded', $fields = $event->getPage()->getCategory()?->getCustomFields() ?? [];
StorefrontRenderEvent::class => 'onStorefrontRender', $event->getPage()->addExtension('lp_switch', new ArrayEntity($fields));
]; }
} }
public function onNavigationPageLoaded(NavigationPageLoadedEvent $event): void {% sw_extends '@Storefront/storefront/layout/meta.html.twig' %}
{ {% block layout_head_stylesheet %}{{ parent() }}{% endblock %}
$fields = $event->getPage()->getCategory()?->getCustomFields() ?? [];
$event->getPage()->addExtension('lp_switch', new ArrayEntity($fields)); $ bin/console plugin:refresh && bin/console plugin:install --activate ErniezFeature
} $ bin/console dal:refresh:index
} $ bin/console theme:compile
$ bin/console cache:clear
{% sw_extends '@Storefront/storefront/layout/meta.html.twig' %}
{% block layout_head_stylesheet %}{{ parent() }}{% endblock %} $criteria = (new Criteria())->addFilter(new EqualsFilter('name', self::SET_NAME));
$setRepo->upsert([$set], $context);
$ bin/console plugin:refresh && bin/console plugin:install --activate ErniezFeature
$ bin/console dal:refresh:index Shopware.Component.register('sw-cms-el-lp-legal-modals', {
$ bin/console theme:compile template, mixins: ['cms-element'],
$ bin/console cache:clear created() { this.initElementConfig('lp-legal-modals'); },
});
$criteria = (new Criteria())->addFilter(new EqualsFilter('name', self::SET_NAME));
$setRepo->upsert([$set], $context); <?php declare(strict_types=1);
namespace LandingPageShowHideSwitch\Subscriber;
Shopware.Component.register('sw-cms-el-lp-legal-modals', {
template, mixins: ['cms-element'], class LandingPageSubscriber implements EventSubscriberInterface
created() { this.initElementConfig('lp-legal-modals'); }, {
}); public static function getSubscribedEvents(): array
{
<?php declare(strict_types=1); return [
namespace LandingPageShowHideSwitch\Subscriber; NavigationPageLoadedEvent::class => 'onNavigationPageLoaded',
LandingPageLoadedEvent::class => 'onLandingPageLoaded',
class LandingPageSubscriber implements EventSubscriberInterface StorefrontRenderEvent::class => 'onStorefrontRender',
{ ];
public static function getSubscribedEvents(): array }
{
return [ public function onNavigationPageLoaded(NavigationPageLoadedEvent $event): void
NavigationPageLoadedEvent::class => 'onNavigationPageLoaded', {
LandingPageLoadedEvent::class => 'onLandingPageLoaded', $fields = $event->getPage()->getCategory()?->getCustomFields() ?? [];
StorefrontRenderEvent::class => 'onStorefrontRender', $event->getPage()->addExtension('lp_switch', new ArrayEntity($fields));
]; }
} }
public function onNavigationPageLoaded(NavigationPageLoadedEvent $event): void {% sw_extends '@Storefront/storefront/layout/meta.html.twig' %}
{ {% block layout_head_stylesheet %}{{ parent() }}{% endblock %}
$fields = $event->getPage()->getCategory()?->getCustomFields() ?? [];
$event->getPage()->addExtension('lp_switch', new ArrayEntity($fields)); $ bin/console plugin:refresh && bin/console plugin:install --activate ErniezFeature
} $ bin/console dal:refresh:index
} $ bin/console theme:compile
$ bin/console cache:clear
{% sw_extends '@Storefront/storefront/layout/meta.html.twig' %}
{% block layout_head_stylesheet %}{{ parent() }}{% endblock %} $criteria = (new Criteria())->addFilter(new EqualsFilter('name', self::SET_NAME));
$setRepo->upsert([$set], $context);
$ bin/console plugin:refresh && bin/console plugin:install --activate ErniezFeature
$ bin/console dal:refresh:index Shopware.Component.register('sw-cms-el-lp-legal-modals', {
$ bin/console theme:compile template, mixins: ['cms-element'],
$ bin/console cache:clear created() { this.initElementConfig('lp-legal-modals'); },
});
$criteria = (new Criteria())->addFilter(new EqualsFilter('name', self::SET_NAME));
$setRepo->upsert([$set], $context); <?php declare(strict_types=1);
namespace LandingPageShowHideSwitch\Subscriber;
Shopware.Component.register('sw-cms-el-lp-legal-modals', {
template, mixins: ['cms-element'], class LandingPageSubscriber implements EventSubscriberInterface
created() { this.initElementConfig('lp-legal-modals'); }, {
}); public static function getSubscribedEvents(): array
{
<?php declare(strict_types=1); return [
namespace LandingPageShowHideSwitch\Subscriber; NavigationPageLoadedEvent::class => 'onNavigationPageLoaded',
LandingPageLoadedEvent::class => 'onLandingPageLoaded',
class LandingPageSubscriber implements EventSubscriberInterface StorefrontRenderEvent::class => 'onStorefrontRender',
{ ];
public static function getSubscribedEvents(): array }
{
return [ public function onNavigationPageLoaded(NavigationPageLoadedEvent $event): void
NavigationPageLoadedEvent::class => 'onNavigationPageLoaded', {
LandingPageLoadedEvent::class => 'onLandingPageLoaded', $fields = $event->getPage()->getCategory()?->getCustomFields() ?? [];
StorefrontRenderEvent::class => 'onStorefrontRender', $event->getPage()->addExtension('lp_switch', new ArrayEntity($fields));
]; }
} }
public function onNavigationPageLoaded(NavigationPageLoadedEvent $event): void {% sw_extends '@Storefront/storefront/layout/meta.html.twig' %}
{ {% block layout_head_stylesheet %}{{ parent() }}{% endblock %}
$fields = $event->getPage()->getCategory()?->getCustomFields() ?? [];
$event->getPage()->addExtension('lp_switch', new ArrayEntity($fields)); $ bin/console plugin:refresh && bin/console plugin:install --activate ErniezFeature
} $ bin/console dal:refresh:index
} $ bin/console theme:compile
$ bin/console cache:clear
{% sw_extends '@Storefront/storefront/layout/meta.html.twig' %}
{% block layout_head_stylesheet %}{{ parent() }}{% endblock %} $criteria = (new Criteria())->addFilter(new EqualsFilter('name', self::SET_NAME));
$setRepo->upsert([$set], $context);
$ bin/console plugin:refresh && bin/console plugin:install --activate ErniezFeature
$ bin/console dal:refresh:index Shopware.Component.register('sw-cms-el-lp-legal-modals', {
$ bin/console theme:compile template, mixins: ['cms-element'],
$ bin/console cache:clear created() { this.initElementConfig('lp-legal-modals'); },
});
$criteria = (new Criteria())->addFilter(new EqualsFilter('name', self::SET_NAME));
$setRepo->upsert([$set], $context); <?php declare(strict_types=1);
namespace LandingPageShowHideSwitch\Subscriber;
Shopware.Component.register('sw-cms-el-lp-legal-modals', {
template, mixins: ['cms-element'], class LandingPageSubscriber implements EventSubscriberInterface
created() { this.initElementConfig('lp-legal-modals'); }, {
}); public static function getSubscribedEvents(): array
{
<?php declare(strict_types=1); return [
namespace LandingPageShowHideSwitch\Subscriber; NavigationPageLoadedEvent::class => 'onNavigationPageLoaded',
LandingPageLoadedEvent::class => 'onLandingPageLoaded',
class LandingPageSubscriber implements EventSubscriberInterface StorefrontRenderEvent::class => 'onStorefrontRender',
{ ];
public static function getSubscribedEvents(): array }
{
return [ public function onNavigationPageLoaded(NavigationPageLoadedEvent $event): void
NavigationPageLoadedEvent::class => 'onNavigationPageLoaded', {
LandingPageLoadedEvent::class => 'onLandingPageLoaded', $fields = $event->getPage()->getCategory()?->getCustomFields() ?? [];
StorefrontRenderEvent::class => 'onStorefrontRender', $event->getPage()->addExtension('lp_switch', new ArrayEntity($fields));
]; }
} }
public function onNavigationPageLoaded(NavigationPageLoadedEvent $event): void {% sw_extends '@Storefront/storefront/layout/meta.html.twig' %}
{ {% block layout_head_stylesheet %}{{ parent() }}{% endblock %}
$fields = $event->getPage()->getCategory()?->getCustomFields() ?? [];
$event->getPage()->addExtension('lp_switch', new ArrayEntity($fields)); $ bin/console plugin:refresh && bin/console plugin:install --activate ErniezFeature
} $ bin/console dal:refresh:index
} $ bin/console theme:compile
$ bin/console cache:clear
{% sw_extends '@Storefront/storefront/layout/meta.html.twig' %}
{% block layout_head_stylesheet %}{{ parent() }}{% endblock %} $criteria = (new Criteria())->addFilter(new EqualsFilter('name', self::SET_NAME));
$setRepo->upsert([$set], $context);
$ bin/console plugin:refresh && bin/console plugin:install --activate ErniezFeature
$ bin/console dal:refresh:index Shopware.Component.register('sw-cms-el-lp-legal-modals', {
$ bin/console theme:compile template, mixins: ['cms-element'],
$ bin/console cache:clear created() { this.initElementConfig('lp-legal-modals'); },
});
$criteria = (new Criteria())->addFilter(new EqualsFilter('name', self::SET_NAME));
$setRepo->upsert([$set], $context); <?php declare(strict_types=1);
namespace LandingPageShowHideSwitch\Subscriber;
Shopware.Component.register('sw-cms-el-lp-legal-modals', {
template, mixins: ['cms-element'], class LandingPageSubscriber implements EventSubscriberInterface
created() { this.initElementConfig('lp-legal-modals'); }, {
}); public static function getSubscribedEvents(): array
{
<?php declare(strict_types=1); return [
namespace LandingPageShowHideSwitch\Subscriber; NavigationPageLoadedEvent::class => 'onNavigationPageLoaded',
LandingPageLoadedEvent::class => 'onLandingPageLoaded',
class LandingPageSubscriber implements EventSubscriberInterface StorefrontRenderEvent::class => 'onStorefrontRender',
{ ];
public static function getSubscribedEvents(): array }
{
return [ public function onNavigationPageLoaded(NavigationPageLoadedEvent $event): void
NavigationPageLoadedEvent::class => 'onNavigationPageLoaded', {
LandingPageLoadedEvent::class => 'onLandingPageLoaded', $fields = $event->getPage()->getCategory()?->getCustomFields() ?? [];
StorefrontRenderEvent::class => 'onStorefrontRender', $event->getPage()->addExtension('lp_switch', new ArrayEntity($fields));
]; }
} }
public function onNavigationPageLoaded(NavigationPageLoadedEvent $event): void {% sw_extends '@Storefront/storefront/layout/meta.html.twig' %}
{ {% block layout_head_stylesheet %}{{ parent() }}{% endblock %}
$fields = $event->getPage()->getCategory()?->getCustomFields() ?? [];
$event->getPage()->addExtension('lp_switch', new ArrayEntity($fields)); $ bin/console plugin:refresh && bin/console plugin:install --activate ErniezFeature
} $ bin/console dal:refresh:index
} $ bin/console theme:compile
$ bin/console cache:clear
{% sw_extends '@Storefront/storefront/layout/meta.html.twig' %}
{% block layout_head_stylesheet %}{{ parent() }}{% endblock %} $criteria = (new Criteria())->addFilter(new EqualsFilter('name', self::SET_NAME));
$setRepo->upsert([$set], $context);
$ bin/console plugin:refresh && bin/console plugin:install --activate ErniezFeature
$ bin/console dal:refresh:index Shopware.Component.register('sw-cms-el-lp-legal-modals', {
$ bin/console theme:compile template, mixins: ['cms-element'],
$ bin/console cache:clear created() { this.initElementConfig('lp-legal-modals'); },
});
$criteria = (new Criteria())->addFilter(new EqualsFilter('name', self::SET_NAME));
$setRepo->upsert([$set], $context); <?php declare(strict_types=1);
namespace LandingPageShowHideSwitch\Subscriber;
Shopware.Component.register('sw-cms-el-lp-legal-modals', {
template, mixins: ['cms-element'], class LandingPageSubscriber implements EventSubscriberInterface
created() { this.initElementConfig('lp-legal-modals'); }, {
}); public static function getSubscribedEvents(): array
{
<?php declare(strict_types=1); return [
namespace LandingPageShowHideSwitch\Subscriber; NavigationPageLoadedEvent::class => 'onNavigationPageLoaded',
LandingPageLoadedEvent::class => 'onLandingPageLoaded',
class LandingPageSubscriber implements EventSubscriberInterface StorefrontRenderEvent::class => 'onStorefrontRender',
{ ];
public static function getSubscribedEvents(): array }
{
return [ public function onNavigationPageLoaded(NavigationPageLoadedEvent $event): void
NavigationPageLoadedEvent::class => 'onNavigationPageLoaded', {
LandingPageLoadedEvent::class => 'onLandingPageLoaded', $fields = $event->getPage()->getCategory()?->getCustomFields() ?? [];
StorefrontRenderEvent::class => 'onStorefrontRender', $event->getPage()->addExtension('lp_switch', new ArrayEntity($fields));
]; }
} }
public function onNavigationPageLoaded(NavigationPageLoadedEvent $event): void {% sw_extends '@Storefront/storefront/layout/meta.html.twig' %}
{ {% block layout_head_stylesheet %}{{ parent() }}{% endblock %}
$fields = $event->getPage()->getCategory()?->getCustomFields() ?? [];
$event->getPage()->addExtension('lp_switch', new ArrayEntity($fields)); $ bin/console plugin:refresh && bin/console plugin:install --activate ErniezFeature
} $ bin/console dal:refresh:index
} $ bin/console theme:compile
$ bin/console cache:clear
{% sw_extends '@Storefront/storefront/layout/meta.html.twig' %}
{% block layout_head_stylesheet %}{{ parent() }}{% endblock %} $criteria = (new Criteria())->addFilter(new EqualsFilter('name', self::SET_NAME));
$setRepo->upsert([$set], $context);
$ bin/console plugin:refresh && bin/console plugin:install --activate ErniezFeature
$ bin/console dal:refresh:index Shopware.Component.register('sw-cms-el-lp-legal-modals', {
$ bin/console theme:compile template, mixins: ['cms-element'],
$ bin/console cache:clear created() { this.initElementConfig('lp-legal-modals'); },
});
$criteria = (new Criteria())->addFilter(new EqualsFilter('name', self::SET_NAME));
$setRepo->upsert([$set], $context); <?php declare(strict_types=1);
namespace LandingPageShowHideSwitch\Subscriber;
Shopware.Component.register('sw-cms-el-lp-legal-modals', {
template, mixins: ['cms-element'], class LandingPageSubscriber implements EventSubscriberInterface
created() { this.initElementConfig('lp-legal-modals'); }, {
}); public static function getSubscribedEvents(): array
{
<?php declare(strict_types=1); return [
namespace LandingPageShowHideSwitch\Subscriber; NavigationPageLoadedEvent::class => 'onNavigationPageLoaded',
LandingPageLoadedEvent::class => 'onLandingPageLoaded',
class LandingPageSubscriber implements EventSubscriberInterface StorefrontRenderEvent::class => 'onStorefrontRender',
{ ];
public static function getSubscribedEvents(): array }
{
return [ public function onNavigationPageLoaded(NavigationPageLoadedEvent $event): void
NavigationPageLoadedEvent::class => 'onNavigationPageLoaded', {
LandingPageLoadedEvent::class => 'onLandingPageLoaded', $fields = $event->getPage()->getCategory()?->getCustomFields() ?? [];
StorefrontRenderEvent::class => 'onStorefrontRender', $event->getPage()->addExtension('lp_switch', new ArrayEntity($fields));
]; }
} }
public function onNavigationPageLoaded(NavigationPageLoadedEvent $event): void {% sw_extends '@Storefront/storefront/layout/meta.html.twig' %}
{ {% block layout_head_stylesheet %}{{ parent() }}{% endblock %}
$fields = $event->getPage()->getCategory()?->getCustomFields() ?? [];
$event->getPage()->addExtension('lp_switch', new ArrayEntity($fields)); $ bin/console plugin:refresh && bin/console plugin:install --activate ErniezFeature
} $ bin/console dal:refresh:index
} $ bin/console theme:compile
$ bin/console cache:clear
{% sw_extends '@Storefront/storefront/layout/meta.html.twig' %}
{% block layout_head_stylesheet %}{{ parent() }}{% endblock %} $criteria = (new Criteria())->addFilter(new EqualsFilter('name', self::SET_NAME));
$setRepo->upsert([$set], $context);
$ bin/console plugin:refresh && bin/console plugin:install --activate ErniezFeature
$ bin/console dal:refresh:index Shopware.Component.register('sw-cms-el-lp-legal-modals', {
$ bin/console theme:compile template, mixins: ['cms-element'],
$ bin/console cache:clear created() { this.initElementConfig('lp-legal-modals'); },
});
$criteria = (new Criteria())->addFilter(new EqualsFilter('name', self::SET_NAME));
$setRepo->upsert([$set], $context); <?php declare(strict_types=1);
namespace LandingPageShowHideSwitch\Subscriber;
Shopware.Component.register('sw-cms-el-lp-legal-modals', {
template, mixins: ['cms-element'], class LandingPageSubscriber implements EventSubscriberInterface
created() { this.initElementConfig('lp-legal-modals'); }, {
}); public static function getSubscribedEvents(): array
{
open_for_projects = true · freie Kapazität ab sofort
Freelance Shopware 6 Entwicklerfür Agenturen & Shopbetreiber. Ich baue Plugins, Storefronts und Schnittstellen , die auch nach dem nächsten Update noch laufen. Und wenn es brennt, bringe ich Deinen Shop wieder zum Laufen.
zsh · erniez28@hagen
erniez28@hagen ~ % whoami
Sascha „Ernie“ Ernst
Shopware 6 · PHP 8 / Symfony · 10+ Jahre E-Commerce
tipp „help“ ein und drück Enter
scroll