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

1
2
3
4
5
6
7
8
9
10
11
12
13
14
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;
}
doc_Drupal
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.