system_cron_test.module

Helper module for CronRunTestCase::testCronCacheExpiration().

File

modules/system/tests/system_cron_test.module

View source
<?php


/**
 * @file
 * Helper module for CronRunTestCase::testCronCacheExpiration().
 */

/**
 * Implements hook_flush_caches().
 */
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();
}

Functions

Title Deprecated Summary
system_cron_test_flush_caches Implements hook_flush_caches().

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