Skip to content
Snippets Groups Projects

Resolve #3406348 "Configimporterevents"

Open Wim Leers requested to merge issue/drupal-3406348:3406348-configimporterevents into 11.x
13 files
+ 200
34
Compare changes
  • Side-by-side
  • Inline
Files
13
@@ -2,7 +2,7 @@
namespace Drupal\Core\Config\Importer;
use Drupal\Core\Config\ConfigEvents;
use Drupal\Core\Config\ConfigImporterEvents;
use Symfony\Component\EventDispatcher\EventSubscriberInterface;
/**
@@ -33,7 +33,7 @@ public function onMissingContent(MissingContentEvent $event) {
public static function getSubscribedEvents(): array {
// This should always be the final event as it will mark all content
// dependencies as resolved.
$events[ConfigEvents::IMPORT_MISSING_CONTENT][] = ['onMissingContent', -1024];
$events[ConfigImporterEvents::IMPORT_MISSING_CONTENT][] = ['onMissingContent', -1024];
return $events;
}
Loading