public function StorageComparer::reset
public StorageComparer::reset()
Recalculates the differences.
Return value
\Drupal\Core\Config\StorageComparerInterface An object which implements the StorageComparerInterface.
Overrides StorageComparerInterface::reset
File
- core/lib/Drupal/Core/Config/StorageComparer.php, line 366
Class
- StorageComparer
- Defines a config storage comparer.
Namespace
Drupal\Core\ConfigCode
public function reset() { $this->changelist = array(StorageInterface::DEFAULT_COLLECTION => $this->getEmptyChangelist()); $this->sourceNames = $this->targetNames = array(); // Reset the static configuration data caches. $this->sourceCacheStorage->deleteAll(); $this->targetCacheStorage->deleteAll(); return $this->createChangelist(); }
© 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!StorageComparer.php/function/StorageComparer::reset/8.1.x