FinalMissingContentSubscriber::onMissingContent

public FinalMissingContentSubscriber::onMissingContent(MissingContentEvent $event)

Handles the missing content event.

Parameters

\Drupal\Core\Config\Importer\MissingContentEvent $event: The missing content event.

File

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

Class

FinalMissingContentSubscriber
Final event subscriber to the missing content event.

Namespace

Drupal\Core\Config\Importer

Code

public function onMissingContent(MissingContentEvent $event) {
  foreach (array_keys($event->getMissingContent()) as $uuid) {
    $event->resolveMissingContent($uuid);
  }
}
doc_Drupal
2016-10-29 09:14:55
Comments
Leave a Comment

Please login to continue.