ConfigImporter::LOCK_NAME

The name used to identify the lock. File core/lib/Drupal/Core/Config/ConfigImporter.php, line 43 Class ConfigImporter Defines a configuration importer. Namespace Drupal\Core\Config Code const LOCK_NAME = 'config_importer';

ConfigImporter::initialize

public ConfigImporter::initialize() Initializes the config importer in preparation for processing a batch. Return value array An array of \Drupal\Core\Config\ConfigImporter method names and callables that are invoked to complete the import. If there are modules or themes to process then an extra step is added. Throws \Drupal\Core\Config\ConfigImporterException If the configuration is already importing. File core/lib/Drupal/Core/Config/ConfigImporter.php, line 511 Class ConfigImporter Def

ConfigImporter::importInvokeRename

protected ConfigImporter::importInvokeRename($collection, $rename_name) Imports a configuration entity rename. Parameters string $collection: The configuration collection. string $rename_name: The rename configuration name, as provided by \Drupal\Core\Config\StorageComparer::createRenameName(). Return value bool TRUE if the configuration was imported as a configuration entity. FALSE otherwise. Throws \Drupal\Core\Entity\EntityStorageException Thrown if the data is owned by an entity type, bu

ConfigImporter::importInvokeOwner

protected ConfigImporter::importInvokeOwner($collection, $op, $name) Invokes import* methods on configuration entity storage. Allow modules to take over configuration change operations for higher-level configuration data. @todo Add support for other extension types; e.g., themes etc. Parameters string $collection: The configuration collection. string $op: The change operation to get the unprocessed list for, either delete, create, rename, or update. string $name: The name of the configuration

ConfigImporter::importConfig

protected ConfigImporter::importConfig($collection, $op, $name) Writes a configuration change from the source to the target storage. Parameters string $collection: The configuration collection. string $op: The change operation. string $name: The name of the configuration to process. File core/lib/Drupal/Core/Config/ConfigImporter.php, line 900 Class ConfigImporter Defines a configuration importer. Namespace Drupal\Core\Config Code protected function importConfig($collection, $op, $nam

ConfigImporter::import

public ConfigImporter::import() Imports the changelist to the target storage. Return value \Drupal\Core\Config\ConfigImporter The ConfigImporter instance. Throws \Drupal\Core\Config\ConfigException File core/lib/Drupal/Core/Config/ConfigImporter.php, line 457 Class ConfigImporter Defines a configuration importer. Namespace Drupal\Core\Config Code public function import() { if ($this->hasUnprocessedConfigurationChanges()) { $sync_steps = $this->initialize(); foreach (

ConfigImporter::hasUnprocessedConfigurationChanges

public ConfigImporter::hasUnprocessedConfigurationChanges() Checks if there are any unprocessed configuration changes. Return value bool TRUE if there are changes to process and FALSE if not. File core/lib/Drupal/Core/Config/ConfigImporter.php, line 274 Class ConfigImporter Defines a configuration importer. Namespace Drupal\Core\Config Code public function hasUnprocessedConfigurationChanges() { foreach ($this->storageComparer->getAllCollectionNames() as $collection) { fore

ConfigImporter::getUnprocessedExtensions

protected ConfigImporter::getUnprocessedExtensions($type) Gets a list of unprocessed changes for extensions. Parameters string $type: The type of extension, either 'theme' or 'module'. Return value array An array of extension names. File core/lib/Drupal/Core/Config/ConfigImporter.php, line 441 Class ConfigImporter Defines a configuration importer. Namespace Drupal\Core\Config Code protected function getUnprocessedExtensions($type) { $changelist = $this->getExtensionChangelist($t

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::getStorageComparer

public ConfigImporter::getStorageComparer() Gets the configuration storage comparer. Return value \Drupal\Core\Config\StorageComparerInterface Storage comparer object used to calculate configuration changes. File core/lib/Drupal/Core/Config/ConfigImporter.php, line 226 Class ConfigImporter Defines a configuration importer. Namespace Drupal\Core\Config Code public function getStorageComparer() { return $this->storageComparer; }