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

Open in your IDE?
  1. <?php declare(strict_types=1);
  2. namespace Acris\QuantityAdvanced;
  3. use Doctrine\DBAL\Connection;
  4. use Shopware\Core\Framework\Context;
  5. use Shopware\Core\Framework\DataAbstractionLayer\Search\Criteria;
  6. use Shopware\Core\Framework\DataAbstractionLayer\Search\Filter\EqualsFilter;
  7. use Shopware\Core\Framework\Plugin;
  8. use Shopware\Core\Framework\Plugin\Context\UninstallContext;
  9. use Shopware\Core\Framework\Plugin\Context\InstallContext;
  10. use Shopware\Core\System\CustomField\CustomFieldTypes;
  11. class AcrisQuantityAdvancedCS extends Plugin
  12. {
  13.     public function install(InstallContext $context): void
  14.     {
  15.     }
  16.     public function uninstall(UninstallContext $context): void
  17.     {
  18.         if ($context->keepUserData()) {
  19.             return;
  20.         }
  21.     }
  22. }