function ConfigTestStorage::importDelete

Same name in other branches
  1. 9 core/modules/config/tests/config_test/src/ConfigTestStorage.php \Drupal\config_test\ConfigTestStorage::importDelete()
  2. 8.9.x core/modules/config/tests/config_test/src/ConfigTestStorage.php \Drupal\config_test\ConfigTestStorage::importDelete()
  3. 10 core/modules/config/tests/config_test/src/ConfigTestStorage.php \Drupal\config_test\ConfigTestStorage::importDelete()

Overrides ConfigEntityStorage::importDelete

File

core/modules/config/tests/config_test/src/ConfigTestStorage.php, line 35

Class

ConfigTestStorage

Namespace

Drupal\config_test

Code

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);
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.