public function StorageComparer::getChangelist in Drupal 9
Same name and namespace in other branches
- 8 core/lib/Drupal/Core/Config/StorageComparer.php \Drupal\Core\Config\StorageComparer::getChangelist()
Gets the list of differences to import.
Parameters
string $op: (optional) A change operation. Either delete, create or update. If supplied the returned list will be limited to this operation.
string $collection: (optional) The collection to get the changelist for. Defaults to the default collection.
Return value
array An array of config changes that are yet to be imported.
Overrides StorageComparerInterface::getChangelist
1 call to StorageComparer::getChangelist()
- StorageComparer::addChangelistRename in core/
lib/ Drupal/ Core/ Config/ StorageComparer.php - Creates the rename changelist.
File
- core/
lib/ Drupal/ Core/ Config/ StorageComparer.php, line 153
Class
- StorageComparer
- Defines a config storage comparer.
Namespace
Drupal\Core\ConfigCode
public function getChangelist($op = NULL, $collection = StorageInterface::DEFAULT_COLLECTION) {
if ($op) {
return $this->changelist[$collection][$op];
}
return $this->changelist[$collection];
}