ConfigImporter::getUnprocessedConfiguration

public ConfigImporter::getUnprocessedConfiguration($op, $collection = StorageInterface::DEFAULT_COLLECTION)

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 326

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]);
}
doc_Drupal
2016-10-29 08:53:40
Comments
Leave a Comment

Please login to continue.