update_script_test.module 419 B

123456789101112131415161718
  1. <?php
  2. /**
  3. * @file
  4. * This file provides testing functionality for update.php.
  5. */
  6. /**
  7. * Implements hook_flush_caches().
  8. *
  9. * This sets a message to confirm that all caches are cleared whenever
  10. * update.php completes.
  11. *
  12. * @see UpdateScriptFunctionalTest::testRequirements()
  13. */
  14. function update_script_test_flush_caches() {
  15. drupal_set_message(t('hook_flush_caches() invoked for update_script_test.module.'));
  16. }