public function ConfigImporter::import in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/lib/Drupal/Core/Config/ConfigImporter.php \Drupal\Core\Config\ConfigImporter::import()
Imports the changelist to the target storage.
Return value
\Drupal\Core\Config\ConfigImporter The ConfigImporter instance.
Throws
\Drupal\Core\Config\ConfigException
File
- core/
lib/ Drupal/ Core/ Config/ ConfigImporter.php, line 462 - Contains \Drupal\Core\Config\ConfigImporter.
Class
- ConfigImporter
- Defines a configuration importer.
Namespace
Drupal\Core\ConfigCode
public function import() {
if ($this
->hasUnprocessedConfigurationChanges()) {
$sync_steps = $this
->initialize();
foreach ($sync_steps as $step) {
$context = array();
do {
$this
->doSyncStep($step, $context);
} while ($context['finished'] < 1);
}
}
return $this;
}