function ConfigImporterEvent::getChangelist

Same name in other branches
  1. 9 core/lib/Drupal/Core/Config/ConfigImporterEvent.php \Drupal\Core\Config\ConfigImporterEvent::getChangelist()
  2. 8.9.x core/lib/Drupal/Core/Config/ConfigImporterEvent.php \Drupal\Core\Config\ConfigImporterEvent::getChangelist()
  3. 10 core/lib/Drupal/Core/Config/ConfigImporterEvent.php \Drupal\Core\Config\ConfigImporterEvent::getChangelist()

Gets the list of changes that will be imported.

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.

See also

\Drupal\Core\Config\StorageComparerInterface::getChangelist()

File

core/lib/Drupal/Core/Config/ConfigImporterEvent.php, line 50

Class

ConfigImporterEvent

Namespace

Drupal\Core\Config

Code

public function getChangelist($op = NULL, $collection = StorageInterface::DEFAULT_COLLECTION) {
    return $this->configImporter
        ->getStorageComparer()
        ->getChangelist($op, $collection);
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.