function Drupal::isConfigSyncing
Same name in other branches
- 9 core/lib/Drupal.php \Drupal::isConfigSyncing()
- 8.9.x core/lib/Drupal.php \Drupal::isConfigSyncing()
- 10 core/lib/Drupal.php \Drupal::isConfigSyncing()
Gets the syncing state.
Return value
bool Returns TRUE is syncing flag set.
5 calls to Drupal::isConfigSyncing()
- ConfigImporterTest::customStep in core/
tests/ Drupal/ KernelTests/ Core/ Config/ ConfigImporterTest.php - Helper method to test custom config installer steps.
- ConfigImporterTest::testCustomStep in core/
tests/ Drupal/ KernelTests/ Core/ Config/ ConfigImporterTest.php - Tests that the isConfigSyncing flag is set correctly during a custom step.
- ConfigImporterTest::testInvalidStep in core/
tests/ Drupal/ KernelTests/ Core/ Config/ ConfigImporterTest.php - Tests that the isConfigSyncing flag is cleanup after an invalid step.
- ConfigTestHooksHooks::updateIsSyncingStore in core/
modules/ config/ tests/ config_test/ src/ Hook/ ConfigTestHooksHooks.php - Helper function for testing hooks during configuration sync.
- _config_test_update_is_syncing_store in core/
modules/ config/ tests/ config_test/ config_test.hooks.inc - Helper function for testing hooks during configuration sync.
File
-
core/
lib/ Drupal.php, line 661
Class
- Drupal
- Static Service Container wrapper.
Code
public static function isConfigSyncing() {
return static::getContainer()->get('config.installer')
->isSyncing();
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.