public function ConfigTestStorage::importDelete in Zircon Profile 8
Same name and namespace in other branches
- 8.0 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 41 - Contains \Drupal\config_test\ConfigTestStorage.
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);
}