You are here

public static function FinalMissingContentSubscriber::getSubscribedEvents in Drupal 10

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/Config/Importer/FinalMissingContentSubscriber.php \Drupal\Core\Config\Importer\FinalMissingContentSubscriber::getSubscribedEvents()
  2. 9 core/lib/Drupal/Core/Config/Importer/FinalMissingContentSubscriber.php \Drupal\Core\Config\Importer\FinalMissingContentSubscriber::getSubscribedEvents()

File

core/lib/Drupal/Core/Config/Importer/FinalMissingContentSubscriber.php, line 33

Class

FinalMissingContentSubscriber
Final event subscriber to the missing content event.

Namespace

Drupal\Core\Config\Importer

Code

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,
  ];
  return $events;
}