update_script_test.module in Zircon Profile 8.0
Same filename and directory in other branches
This file provides testing functionality for update.php.
File
core/modules/system/tests/modules/update_script_test/update_script_test.moduleView source
<?php
/**
* @file
* This file provides testing functionality for update.php.
*/
/**
* Implements hook_cache_flush().
*
* This sets a message to confirm that all caches are cleared whenever
* update.php completes.
*
* @see UpdateScriptFunctionalTest::testRequirements()
*/
function update_script_test_cache_flush() {
drupal_set_message(t('hook_cache_flush() invoked for update_script_test.module.'));
}
Functions
Name | Description |
---|---|
update_script_test_cache_flush | Implements hook_cache_flush(). |