ConfigImporter::reset

public ConfigImporter::reset()

Resets the storage comparer and processed list.

Return value

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

File

core/lib/Drupal/Core/Config/ConfigImporter.php, line 236

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;
}
doc_Drupal
2016-10-29 08:53:42
Comments
Leave a Comment

Please login to continue.