You are here

public function ConfigImporter::getUnprocessedConfiguration in Drupal 10

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/Config/ConfigImporter.php \Drupal\Core\Config\ConfigImporter::getUnprocessedConfiguration()
  2. 9 core/lib/Drupal/Core/Config/ConfigImporter.php \Drupal\Core\Config\ConfigImporter::getUnprocessedConfiguration()

Gets a list of unprocessed changes for a given operation.

Parameters

string $op: The change operation to get the unprocessed list for, either delete, create, rename, or update.

string $collection: (optional) The configuration collection to get unprocessed changes for. Defaults to the default collection.

Return value

array An array of configuration names.

File

core/lib/Drupal/Core/Config/ConfigImporter.php, line 337

Class

ConfigImporter
Defines a configuration importer.

Namespace

Drupal\Core\Config

Code

public function getUnprocessedConfiguration($op, $collection = StorageInterface::DEFAULT_COLLECTION) {
  return array_diff($this->storageComparer
    ->getChangelist($op, $collection), $this->processedConfiguration[$collection][$op]);
}