public function 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\ConfigCode
public function hasUnprocessedConfigurationChanges() { foreach ($this->storageComparer->getAllCollectionNames() as $collection) { foreach (array('delete', 'create', 'rename', 'update') as $op) { if (count($this->getUnprocessedConfiguration($op, $collection))) { return TRUE; } } } return FALSE; }
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Config!ConfigImporter.php/function/ConfigImporter::hasUnprocessedConfigurationChanges/8.1.x