public function 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\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; }
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Config!ConfigImporter.php/function/ConfigImporter::reset/8.1.x