function FinalMissingContentSubscriber::getSubscribedEvents

Same name in other branches
  1. 8.9.x core/lib/Drupal/Core/Config/Importer/FinalMissingContentSubscriber.php \Drupal\Core\Config\Importer\FinalMissingContentSubscriber::getSubscribedEvents()
  2. 10 core/lib/Drupal/Core/Config/Importer/FinalMissingContentSubscriber.php \Drupal\Core\Config\Importer\FinalMissingContentSubscriber::getSubscribedEvents()
  3. 11.x 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;
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.