public function ConfigTestStorage::importDelete in Drupal 8
Same name and namespace in other branches
- 9 core/modules/config/tests/config_test/src/ConfigTestStorage.php \Drupal\config_test\ConfigTestStorage::importDelete()
Delete entities upon synchronizing configuration changes.
Parameters
string $name: The name of the configuration object.
\Drupal\Core\Config\Config $new_config: A configuration object containing the new configuration data.
\Drupal\Core\Config\Config $old_config: A configuration object containing the old configuration data.
Overrides ConfigEntityStorage::importDelete
File
- core/
modules/ config/ tests/ config_test/ src/ ConfigTestStorage.php, line 36
Class
- ConfigTestStorage
- @todo.
Namespace
Drupal\config_testCode
public function importDelete($name, Config $new_config, Config $old_config) {
// Set a global value we can check in test code.
$GLOBALS['hook_config_import'] = __METHOD__;
return parent::importDelete($name, $new_config, $old_config);
}