custom/plugins/CogiAdvancedDeliveryDate/src/CogiAdvancedDeliveryDate.php line 12

Open in your IDE?
  1. <?php declare(strict_types=1);
  2. namespace Cogi\CogiAdvancedDeliveryDate;
  3. use Shopware\Core\Framework\Plugin;
  4. use Shopware\Core\Framework\Plugin\Context\ActivateContext;
  5. use Shopware\Core\Framework\Plugin\Context\DeactivateContext;
  6. use Shopware\Core\Framework\Plugin\Context\InstallContext;
  7. use Shopware\Core\Framework\Plugin\Context\UninstallContext;
  8. use Shopware\Core\Framework\Plugin\Context\UpdateContext;
  9. class CogiAdvancedDeliveryDate extends Plugin {
  10.     public function install(InstallContext $context): void {
  11.     }
  12.     public function update(UpdateContext $context): void {
  13.         parent::update($context);
  14.     }
  15.     public function activate(ActivateContext $context): void {
  16.         // your code you need to execute while your plugin gets activated
  17.     }
  18.     public function deactivate(DeactivateContext $context): void {
  19.         // your code you need to run while your plugin gets deactivated
  20.     }
  21.     public function uninstall(UninstallContext $context): void {
  22.     }
  23. }