public function ConfigImporter::reset in Drupal 10
Same name and namespace in other branches
- 8 core/lib/Drupal/Core/Config/ConfigImporter.php \Drupal\Core\Config\ConfigImporter::reset()
- 9 core/lib/Drupal/Core/Config/ConfigImporter.php \Drupal\Core\Config\ConfigImporter::reset()
Resets the storage comparer and processed list.
Return value
$this The ConfigImporter instance.
File
- core/
lib/ Drupal/ Core/ Config/ ConfigImporter.php, line 247
Class
- ConfigImporter
- Defines a configuration importer.
Namespace
Drupal\Core\ConfigCode
public function reset() {
$this->storageComparer
->reset();
// Empty all the lists.
foreach ($this->storageComparer
->getAllCollectionNames() as $collection) {
$this->processedConfiguration[$collection] = $this->storageComparer
->getEmptyChangelist();
}
$this->extensionChangelist = $this->processedExtensions = $this
->getEmptyExtensionsProcessedList();
$this->validated = FALSE;
$this->processedSystemTheme = FALSE;
return $this;
}