custom/plugins/CioExports/src/CioExports.php line 17

Open in your IDE?
  1. <?php declare(strict_types=1);
  2. namespace CioExports;
  3. use Doctrine\DBAL\Exception\UniqueConstraintViolationException;
  4. use Shopware\Core\Content\MailTemplate\Aggregate\MailTemplateType\MailTemplateTypeEntity;
  5. use Shopware\Core\Framework\Context;
  6. use Shopware\Core\Framework\DataAbstractionLayer\EntityRepositoryInterface;
  7. use Shopware\Core\Framework\DataAbstractionLayer\Search\Criteria;
  8. use Shopware\Core\Framework\DataAbstractionLayer\Search\Filter\EqualsFilter;
  9. use Shopware\Core\Framework\Event\EventAction\EventActionEntity;
  10. use Shopware\Core\Framework\Plugin;
  11. use Shopware\Core\Framework\Plugin\Context\InstallContext;
  12. use Shopware\Core\Framework\Plugin\Context\UninstallContext;
  13. use Shopware\Core\Framework\Uuid\Uuid;
  14. class CioExports extends Plugin
  15. {
  16.     public function install(InstallContext $installContext): void
  17.     {
  18.         parent::install($installContext);
  19.     }
  20.     public function uninstall(UninstallContext $uninstallContext): void
  21.     {
  22.         parent::uninstall($uninstallContext);
  23.         if ($uninstallContext->keepUserData()) {
  24.             return;
  25.         }
  26.     }
  27. }