public function MissingContentEvent::resolveMissingContent in Drupal 10
Same name and namespace in other branches
- 8 core/lib/Drupal/Core/Config/Importer/MissingContentEvent.php \Drupal\Core\Config\Importer\MissingContentEvent::resolveMissingContent()
- 9 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;
}