You are here

public function ConfigImporter::reset in Zircon Profile 8

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

Resets the storage comparer and processed list.

Return value

\Drupal\Core\Config\ConfigImporter The ConfigImporter instance.

1 call to ConfigImporter::reset()
ConfigImporter::finish in core/lib/Drupal/Core/Config/ConfigImporter.php
Finishes the batch.

File

core/lib/Drupal/Core/Config/ConfigImporter.php, line 241
Contains \Drupal\Core\Config\ConfigImporter.

Class

ConfigImporter
Defines a configuration importer.

Namespace

Drupal\Core\Config

Code

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;
}