function MissingContentEvent::resolveMissingContent
Same name in other branches
- 8.9.x core/lib/Drupal/Core/Config/Importer/MissingContentEvent.php \Drupal\Core\Config\Importer\MissingContentEvent::resolveMissingContent()
- 10 core/lib/Drupal/Core/Config/Importer/MissingContentEvent.php \Drupal\Core\Config\Importer\MissingContentEvent::resolveMissingContent()
- 11.x 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 52
Class
- MissingContentEvent
- Wraps a configuration event for event listeners.
Namespace
Drupal\Core\Config\ImporterCode
public function resolveMissingContent($uuid) {
if (isset($this->missingContent[$uuid])) {
unset($this->missingContent[$uuid]);
}
return $this;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.