public function StorageComparer::createChangelist

public StorageComparer::createChangelist()

File

core/lib/Drupal/Core/Config/StorageComparer.php, line 201

Class

StorageComparer
Defines a config storage comparer.

Namespace

Drupal\Core\Config

Code

public function createChangelist() {
  foreach ($this->getAllCollectionNames() as $collection) {
    $this->changelist[$collection] = $this->getEmptyChangelist();
    $this->getAndSortConfigData($collection);
    $this->addChangelistCreate($collection);
    $this->addChangelistUpdate($collection);
    $this->addChangelistDelete($collection);
    // Only collections that support configuration entities can have renames.
    if ($collection == StorageInterface::DEFAULT_COLLECTION) {
      $this->addChangelistRename($collection);
    }
  }
  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!StorageComparer.php/function/StorageComparer::createChangelist/8.1.x