You are here

function config_test_cache_flush in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/config/tests/config_test/config_test.module \config_test_cache_flush()
  2. 9 core/modules/config/tests/config_test/config_test.module \config_test_cache_flush()

Implements hook_cache_flush().

File

core/modules/config/tests/config_test/config_test.module, line 13

Code

function config_test_cache_flush() {

  // Set a global value we can check in test code.
  $GLOBALS['hook_cache_flush'] = __FUNCTION__;
}