custom/plugins/NxsHrefLang/src/NxsHrefLang.php line 10

Open in your IDE?
  1. <?php declare(strict_types=1);
  2. namespace NxsHrefLang;
  3. use NxsHrefLang\Installer\CustomFieldInstaller;
  4. use Shopware\Core\Framework\Plugin;
  5. use Shopware\Core\Framework\Plugin\Context\InstallContext;
  6. use Shopware\Core\Framework\Plugin\Context\UpdateContext;
  7. class NxsHrefLang extends Plugin
  8. {
  9.     public function install(InstallContext $installContext): void
  10.     {
  11.         (new CustomFieldInstaller($this->container))->install($installContext);
  12.     }
  13.     public function update(UpdateContext $updateContext): void
  14.     {
  15.         (new CustomFieldInstaller($this->container))->update($updateContext);
  16.     }
  17. }