<?php
declare(strict_types=1);
namespace Tmms\TopBarNotifications;
use Shopware\Core\Framework\Plugin;
use Symfony\Component\DependencyInjection\ContainerBuilder;
class TmmsTopBarNotifications extends Plugin
{
const PLUGIN_CONFIG_VARS = [
'topBarNotificationsMarginUnit',
'topBarNotificationsMarginTop',
'topBarNotificationsMarginBottom',
'topBarNotificationsPaddingUnit',
'topBarNotificationsPaddingTop',
'topBarNotificationsPaddingBottom',
'topBarNotificationsShadow',
'topBarNotificationsArea1IconWidth',
'topBarNotificationsArea1IconHeight',
'topBarNotificationsArea1MarginUnit',
'topBarNotificationsArea1MarginArea',
'topBarNotificationsArea1MarginIcon',
'topBarNotificationsArea1MarginLeftContent',
'topBarNotificationsArea1MarginRightContent',
'topBarNotificationsArea1FontSize',
'topBarNotificationsArea2IconWidth',
'topBarNotificationsArea2IconHeight',
'topBarNotificationsArea2MarginUnit',
'topBarNotificationsArea2MarginArea',
'topBarNotificationsArea2MarginIcon',
'topBarNotificationsArea2MarginLeftContent',
'topBarNotificationsArea2MarginRightContent',
'topBarNotificationsArea2FontSize',
'topBarNotificationsArea3IconWidth',
'topBarNotificationsArea3IconHeight',
'topBarNotificationsArea3MarginUnit',
'topBarNotificationsArea3MarginArea',
'topBarNotificationsArea3MarginIcon',
'topBarNotificationsArea3MarginLeftContent',
'topBarNotificationsArea3MarginRightContent',
'topBarNotificationsArea3FontSize',
'topBarNotificationsArea4IconWidth',
'topBarNotificationsArea4IconHeight',
'topBarNotificationsArea4MarginUnit',
'topBarNotificationsArea4MarginArea',
'topBarNotificationsArea4MarginIcon',
'topBarNotificationsArea4MarginLeftContent',
'topBarNotificationsArea4MarginRightContent',
'topBarNotificationsArea4FontSize',
];
public function build(ContainerBuilder $container): void
{
parent::build($container);
$container->setParameter(
'tmms_topbarnotifications_domain',
$this->getName() . '.config.'
);
}
}