function config_test_cache_flush

Same name in other branches
  1. 9 core/modules/config/tests/config_test/config_test.module \config_test_cache_flush()
  2. 8.9.x core/modules/config/tests/config_test/config_test.module \config_test_cache_flush()
  3. 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 17

Code

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

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