You are here

public static function FinalMissingContentSubscriber::getSubscribedEvents in Drupal 8

Same name and namespace in other branches
  1. 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() {

  // 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;
}