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

Open in your IDE?
  1. <?php declare(strict_types=1);
  2. namespace CoeGoogleSiteVerificationSw6;
  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 CoeGoogleSiteVerificationSw6
  8.  * @package CoeGoogleSiteVerificationSw6
  9.  * @author Jeffry Block <jeffry.block@codeenterprise.de>
  10.  */
  11. class CoeGoogleSiteVerificationSw6 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. }