You are here

public function ConfigImporter::getUnprocessedConfiguration in Drupal 8

Same name and namespace in other branches
  1. 9 core/lib/Drupal/Core/Config/ConfigImporter.php \Drupal\Core\Config\ConfigImporter::getUnprocessedConfiguration()
  2. 10 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.

4 calls to ConfigImporter::getUnprocessedConfiguration()
ConfigImporter::getNextConfigurationOperation in core/lib/Drupal/Core/Config/ConfigImporter.php
Gets the next configuration operation to perform.
ConfigImporter::hasUnprocessedConfigurationChanges in core/lib/Drupal/Core/Config/ConfigImporter.php
Checks if there are any unprocessed configuration changes.
ConfigImporter::processConfigurations in core/lib/Drupal/Core/Config/ConfigImporter.php
Processes configuration as a batch operation.
ConfigImporter::validate in core/lib/Drupal/Core/Config/ConfigImporter.php
Dispatches validate event for a ConfigImporter object.

File

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

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