custom/plugins/zenitPlatformFontChange/src/zenitPlatformFontChange.php line 14

Open in your IDE?
  1. <?php declare(strict_types=1);
  2. namespace zenit\PlatformFontChange;
  3. use Shopware\Core\Framework\Plugin;
  4. use Shopware\Core\Framework\Plugin\Context\InstallContext;
  5. use Shopware\Core\Framework\Plugin\Context\UninstallContext;
  6. use Shopware\Core\Framework\Context;
  7. use Shopware\Core\Framework\DataAbstractionLayer\EntityRepositoryInterface;
  8. use Shopware\Core\Framework\DataAbstractionLayer\Search\Criteria;
  9. use Shopware\Core\Framework\DataAbstractionLayer\Search\Filter\ContainsFilter;
  10. class zenitPlatformFontChange extends Plugin
  11. {
  12.     public function install(InstallContext $installContext): void
  13.     {
  14.         parent::install($installContext);
  15.     }
  16.     public function uninstall(UninstallContext $uninstallContext): void
  17.     {
  18.         if ($uninstallContext->keepUserData()) {
  19.             parent::uninstall($uninstallContext);
  20.             return;
  21.         }
  22.         parent::uninstall($uninstallContext);
  23.     }
  24. }