system_module_test.install

Same filename in other branches
  1. 9 core/modules/system/tests/modules/system_module_test/system_module_test.install
  2. 10 core/modules/system/tests/modules/system_module_test/system_module_test.install
  3. 11.x core/modules/system/tests/modules/system_module_test/system_module_test.install

Install, update, and uninstall functions for the System test module.

File

core/modules/system/tests/modules/system_module_test/system_module_test.install

View 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

Title Deprecated Summary
system_module_test_install Implements hook_install().

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.