system_module_test.install

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

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.
 */
declare (strict_types=1);
use Drupal\Core\Cache\Cache;

/**
 * Implements hook_install().
 */
function system_module_test_install() : void {
    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.