function system_cron_test_flush_caches
Implements hook_flush_caches().
1 string reference to 'system_cron_test_flush_caches'
- CronRunTestCase::testCronCacheExpiration in modules/
system/ system.test - Tests that hook_flush_caches() is not invoked on every single cron run.
File
-
modules/
system/ tests/ system_cron_test.module, line 11
Code
function system_cron_test_flush_caches() {
// Set a variable to indicate that this hook was invoked.
variable_set('system_cron_test_flush_caches', 1);
return array();
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.