function ConfigImporter::setProcessedConfiguration

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

Sets a change as processed.

Parameters

string $collection: The configuration collection to set a change as processed for.

string $op: The change operation performed, either delete, create, rename, or update.

string $name: The name of the configuration processed.

5 calls to ConfigImporter::setProcessedConfiguration()
ConfigImporter::checkOp in core/lib/Drupal/Core/Config/ConfigImporter.php
Checks that the operation is still valid.
ConfigImporter::importConfig in core/lib/Drupal/Core/Config/ConfigImporter.php
Writes a configuration change from the source to the target storage.
ConfigImporter::importInvokeOwner in core/lib/Drupal/Core/Config/ConfigImporter.php
Invokes import* methods on configuration entity storage.
ConfigImporter::importInvokeRename in core/lib/Drupal/Core/Config/ConfigImporter.php
Imports a configuration entity rename.
ConfigImporter::processConfiguration in core/lib/Drupal/Core/Config/ConfigImporter.php
Processes a configuration change.

File

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

Class

ConfigImporter
Defines a configuration importer.

Namespace

Drupal\Core\Config

Code

protected function setProcessedConfiguration($collection, $op, $name) {
    $this->processedConfiguration[$collection][$op][] = $name;
}

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