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