page_cache_form_test.install

Same filename in other branches
  1. 8.9.x core/modules/page_cache/tests/modules/page_cache_form_test.install
  2. 10 core/modules/page_cache/tests/modules/page_cache_form_test.install
  3. 11.x core/modules/page_cache/tests/modules/page_cache_form_test.install

Install hooks for page_cache_form_test.

File

core/modules/page_cache/tests/modules/page_cache_form_test.install

View source
<?php


/**
 * @file
 * Install hooks for page_cache_form_test.
 */

/**
 * Implements hook_install().
 */
function page_cache_form_test_install() {
    // Set an explicit module weight, to ensure that the form alter hook is
    // always called after page_cache_form_alter().
    module_set_weight('page_cache_form_test', 10);
}

Functions

Title Deprecated Summary
page_cache_form_test_install Implements hook_install().

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