summaryrefslogtreecommitdiffstats
path: root/core/modules/system/tests/modules/update_script_test/update_script_test.module
blob: 096f912515964cd4752fb1788cc1642ce9654fcf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<?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::messenger()->addStatus(t('hook_cache_flush() invoked for update_script_test.module.'));
}