function ConfigTestStorage::importUpdate
Same name in other branches
- 9 core/modules/config/tests/config_test/src/ConfigTestStorage.php \Drupal\config_test\ConfigTestStorage::importUpdate()
- 8.9.x core/modules/config/tests/config_test/src/ConfigTestStorage.php \Drupal\config_test\ConfigTestStorage::importUpdate()
- 10 core/modules/config/tests/config_test/src/ConfigTestStorage.php \Drupal\config_test\ConfigTestStorage::importUpdate()
Overrides ConfigEntityStorage::importUpdate
File
-
core/
modules/ config/ tests/ config_test/ src/ ConfigTestStorage.php, line 25
Class
Namespace
Drupal\config_testCode
public function importUpdate($name, Config $new_config, Config $old_config) {
// Set a global value we can check in test code.
$GLOBALS['hook_config_import'] = __METHOD__;
return parent::importUpdate($name, $new_config, $old_config);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.