function config_test_cache_flush

Same name in other branches
  1. 8.9.x 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()
  3. 11.x 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__;
}

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