function ConfigImporter::getUnprocessedExtensions
Same name in other branches
- 8.9.x core/lib/Drupal/Core/Config/ConfigImporter.php \Drupal\Core\Config\ConfigImporter::getUnprocessedExtensions()
- 10 core/lib/Drupal/Core/Config/ConfigImporter.php \Drupal\Core\Config\ConfigImporter::getUnprocessedExtensions()
- 11.x core/lib/Drupal/Core/Config/ConfigImporter.php \Drupal\Core\Config\ConfigImporter::getUnprocessedExtensions()
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.
2 calls to ConfigImporter::getUnprocessedExtensions()
- ConfigImporter::getNextExtensionOperation in core/
lib/ Drupal/ Core/ Config/ ConfigImporter.php - Gets the next extension operation to perform.
- ConfigImporter::initialize in core/
lib/ Drupal/ Core/ Config/ ConfigImporter.php - Initializes the config importer in preparation for processing a batch.
File
-
core/
lib/ Drupal/ Core/ Config/ ConfigImporter.php, line 494
Class
- ConfigImporter
- Defines a configuration importer.
Namespace
Drupal\Core\ConfigCode
protected function getUnprocessedExtensions($type) {
$changelist = $this->getExtensionChangelist($type);
return [
'install' => array_diff($changelist['install'], $this->processedExtensions[$type]['install']),
'uninstall' => array_diff($changelist['uninstall'], $this->processedExtensions[$type]['uninstall']),
];
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.