MissingContentEvent::resolveMissingContent

public MissingContentEvent::resolveMissingContent($uuid)

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 52

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;
}
doc_Drupal
2016-10-29 09:28:27
Comments
Leave a Comment

Please login to continue.