096f912515964cd4752fb1788cc1642ce9654fcf
[yaffs-website] / web / core / modules / system / tests / modules / update_script_test / update_script_test.module
1 <?php
2
3 /**
4  * @file
5  * This file provides testing functionality for update.php.
6  */
7
8 /**
9  * Implements hook_cache_flush().
10  *
11  * This sets a message to confirm that all caches are cleared whenever
12  * update.php completes.
13  *
14  * @see UpdateScriptFunctionalTest::testRequirements()
15  */
16 function update_script_test_cache_flush() {
17   \Drupal::messenger()->addStatus(t('hook_cache_flush() invoked for update_script_test.module.'));
18 }