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

Open in your IDE?
  1. <?php declare(strict_types=1);
  2. namespace CoeBestellungTrackingSw6;
  3. use Shopware\Core\Framework\Plugin;
  4. use Shopware\Core\Framework\Plugin\Context\UninstallContext;
  5. use Shopware\Core\Framework\Plugin\Context\installContext;
  6. /**
  7.  * Class CoeBestellungTrackingSw6
  8.  * @package CoeBestellungTrackingSw6
  9.  * @author Jeffry Block <jeffry.block@codeenterprise.de>
  10.  */
  11. class CoeBestellungTrackingSw6 extends Plugin {
  12.     /**
  13.      * @param installContext $context
  14.      * @author Jeffry Block <jeffry.block@codeenterprise.de>
  15.      * @throws \Shopware\Core\Framework\DataAbstractionLayer\Exception\InconsistentCriteriaIdsException
  16.      */
  17.     public function install(InstallContext $context): void
  18.     {
  19.         parent::install($context);
  20.     }
  21.     /**
  22.      * @param UninstallContext $context
  23.      * @author Jeffry Block <jeffry.block@codeenterprise.de>
  24.      */
  25.     public function uninstall(UninstallContext $context): void
  26.     {
  27.         parent::uninstall($context);
  28.         if ($context->keepUserData()) {
  29.             return;
  30.         }
  31.     }
  32. }