Skip to content
Snippets Groups Projects

Issue #3364958: Stages should be destroyed in the background, during cron runs

5 files
+ 2
21
Compare changes
  • Side-by-side
  • Inline
Files
5
@@ -6,7 +6,7 @@ namespace Drupal\package_manager\Validator;
use Drupal\Core\State\StateInterface;
use Drupal\Core\StringTranslation\StringTranslationTrait;
use Drupal\package_manager\Event\PostDestroyEvent;
use Drupal\package_manager\Event\PostApplyEvent;
use Drupal\package_manager\Event\PreApplyEvent;
use Drupal\package_manager\Event\PreCreateEvent;
use Drupal\package_manager\Event\PreOperationStageEvent;
@@ -176,7 +176,7 @@ final class LockFileValidator implements EventSubscriberInterface {
PreRequireEvent::class => 'validate',
PreApplyEvent::class => 'validate',
StatusCheckEvent::class => 'validate',
PostDestroyEvent::class => 'deleteHash',
PostApplyEvent::class => 'deleteHash',
];
}
Loading