You are here

function config_test_cache_flush in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/config/tests/config_test/config_test.module \config_test_cache_flush()
  2. 10 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__;
}