You are here

public function MissingContentEvent::resolveMissingContent in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/lib/Drupal/Core/Config/Importer/MissingContentEvent.php \Drupal\Core\Config\Importer\MissingContentEvent::resolveMissingContent()

Resolves the missing content by removing it from the list.

Parameters

string $uuid: The UUID of the content entity to mark resolved.

Return value

$this The MissingContentEvent object.

File

core/lib/Drupal/Core/Config/Importer/MissingContentEvent.php, line 57
Contains \Drupal\Core\Config\Importer\MissingContentEvent.

Class

MissingContentEvent
Wraps a configuration event for event listeners.

Namespace

Drupal\Core\Config\Importer

Code

public function resolveMissingContent($uuid) {
  if (isset($this->missingContent[$uuid])) {
    unset($this->missingContent[$uuid]);
  }
  return $this;
}