function ConfigImporter::hasUnprocessedConfigurationChanges
Same name in other branches
- 9 core/lib/Drupal/Core/Config/ConfigImporter.php \Drupal\Core\Config\ConfigImporter::hasUnprocessedConfigurationChanges()
- 10 core/lib/Drupal/Core/Config/ConfigImporter.php \Drupal\Core\Config\ConfigImporter::hasUnprocessedConfigurationChanges()
- 11.x core/lib/Drupal/Core/Config/ConfigImporter.php \Drupal\Core\Config\ConfigImporter::hasUnprocessedConfigurationChanges()
Checks if there are any unprocessed configuration changes.
Return value
bool TRUE if there are changes to process and FALSE if not.
1 call to ConfigImporter::hasUnprocessedConfigurationChanges()
- ConfigImporter::import in core/
lib/ Drupal/ Core/ Config/ ConfigImporter.php - Imports the changelist to the target storage.
File
-
core/
lib/ Drupal/ Core/ Config/ ConfigImporter.php, line 292
Class
- ConfigImporter
- Defines a configuration importer.
Namespace
Drupal\Core\ConfigCode
public function hasUnprocessedConfigurationChanges() {
foreach ($this->storageComparer
->getAllCollectionNames() as $collection) {
foreach ([
'delete',
'create',
'rename',
'update',
] as $op) {
if (count($this->getUnprocessedConfiguration($op, $collection))) {
return TRUE;
}
}
}
return FALSE;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.