protected function ConfigImporter::getUnprocessedExtensions in Drupal 10
Same name and namespace in other branches
- 8 core/lib/Drupal/Core/Config/ConfigImporter.php \Drupal\Core\Config\ConfigImporter::getUnprocessedExtensions()
- 9 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.
File
- core/
lib/ Drupal/ Core/ Config/ ConfigImporter.php, line 462
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']),
];
}