public function 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]);
}

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Config!ConfigImporter.php/function/ConfigImporter::getUnprocessedConfiguration/8.1.x