ConfigImporter::setProcessedExtension

protected ConfigImporter::setProcessedExtension($type, $op, $name) Sets an extension change as processed. Parameters string $type: The type of extension, either 'theme' or 'module'. string $op: The change operation performed, either install or uninstall. string $name: The name of the extension processed. File core/lib/Drupal/Core/Config/ConfigImporter.php, line 350 Class ConfigImporter Defines a configuration importer. Namespace Drupal\Core\Config Code protected function setProcessedE

ConfigImporter::setProcessedConfiguration

protected ConfigImporter::setProcessedConfiguration($collection, $op, $name) 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. File core/lib/Drupal/Core/Config/ConfigImporter.php, line 309 Class ConfigImporter Defines a configuration importer. Namespace Drupal\Core\Config Cod

ConfigImporter::reset

public ConfigImporter::reset() Resets the storage comparer and processed list. Return value \Drupal\Core\Config\ConfigImporter The ConfigImporter instance. File core/lib/Drupal/Core/Config/ConfigImporter.php, line 236 Class ConfigImporter Defines a configuration importer. Namespace Drupal\Core\Config Code public function reset() { $this->storageComparer->reset(); // Empty all the lists. foreach ($this->storageComparer->getAllCollectionNames() as $collection) { $t

ConfigImporter::reInjectMe

protected ConfigImporter::reInjectMe() Gets all the service dependencies from \Drupal. Since the ConfigImporter handles module installation the kernel and the container can be rebuilt and altered during processing. It is necessary to keep the services used by the importer in sync. File core/lib/Drupal/Core/Config/ConfigImporter.php, line 1039 Class ConfigImporter Defines a configuration importer. Namespace Drupal\Core\Config Code protected function reInjectMe() { $this->_serviceId

ConfigImporter::processMissingContent

protected ConfigImporter::processMissingContent(&$context) Handles processing of missing content. Parameters array|\ArrayAccess $context.: Standard batch context. File core/lib/Drupal/Core/Config/ConfigImporter.php, line 611 Class ConfigImporter Defines a configuration importer. Namespace Drupal\Core\Config Code protected function processMissingContent(&$context) { $sandbox = &$context['sandbox']['config']; if (!isset($sandbox['missing_content'])) { $missing_conten

ConfigImporter::processExtensions

protected ConfigImporter::processExtensions(&$context) Processes extensions as a batch operation. Parameters array|\ArrayAccess $context.: The batch context. File core/lib/Drupal/Core/Config/ConfigImporter.php, line 548 Class ConfigImporter Defines a configuration importer. Namespace Drupal\Core\Config Code protected function processExtensions(&$context) { $operation = $this->getNextExtensionOperation(); if (!empty($operation)) { $this->processExtension($operatio

ConfigImporter::processExtension

protected ConfigImporter::processExtension($type, $op, $name) Processes an extension change. Parameters string $type: The type of extension, either 'module' or 'theme'. string $op: The change operation. string $name: The name of the extension to process. File core/lib/Drupal/Core/Config/ConfigImporter.php, line 780 Class ConfigImporter Defines a configuration importer. Namespace Drupal\Core\Config Code protected function processExtension($type, $op, $name) { // Set the config instal

ConfigImporter::processConfigurations

protected ConfigImporter::processConfigurations(&$context) Processes configuration as a batch operation. Parameters array|\ArrayAccess $context.: The batch context. File core/lib/Drupal/Core/Config/ConfigImporter.php, line 568 Class ConfigImporter Defines a configuration importer. Namespace Drupal\Core\Config Code protected function processConfigurations(&$context) { // The first time this is called we need to calculate the total to process. // This involves recalculating

ConfigImporter::processConfiguration

protected ConfigImporter::processConfiguration($collection, $op, $name) Processes a configuration change. Parameters string $collection: The configuration collection to process changes for. string $op: The change operation. string $name: The name of the configuration to process. Throws \Exception Thrown when the import process fails, only thrown when no importer log is set, otherwise the exception message is logged and the configuration is skipped. File core/lib/Drupal/Core/Config/ConfigImpor

ConfigImporter::logError

public ConfigImporter::logError($message) Logs an error message. Parameters string $message: The message to log. File core/lib/Drupal/Core/Config/ConfigImporter.php, line 206 Class ConfigImporter Defines a configuration importer. Namespace Drupal\Core\Config Code public function logError($message) { $this->errors[] = $message; }