system_module_test.install in Drupal 10
Same filename and directory in other branches
Install, update, and uninstall functions for the System test module.
File
core/modules/system/tests/modules/system_module_test/system_module_test.installView source
<?php
/**
* @file
* Install, update, and uninstall functions for the System test module.
*/
use Drupal\Core\Cache\Cache;
/**
* Implements hook_install().
*/
function system_module_test_install() {
Cache::invalidateTags([
'rendered',
]);
}
Functions
Name | Description |
---|---|
system_module_test_install | Implements hook_install(). |