public function StorageComparer::reset

Recalculates the differences.

Return value

\Drupal\Core\Config\StorageComparerInterface An object which implements the StorageComparerInterface.

Overrides StorageComparerInterface::reset

File

drupal/core/lib/Drupal/Core/Config/StorageComparer.php, line 154
Contains \Drupal\Core\Config\StorageComparer.

Class

StorageComparer
Defines a config storage comparer.

Namespace

Drupal\Core\Config

Code

public function reset() {
  $this->changelist = $this
    ->getEmptyChangelist();
  $this->sourceNames = $this->targetNames = array();
  return $this
    ->createChangelist();
}