function page_cache_form_test_install
Same name and namespace in other branches
- 9 core/modules/page_cache/tests/modules/page_cache_form_test.install \page_cache_form_test_install()
- 10 core/modules/page_cache/tests/modules/page_cache_form_test.install \page_cache_form_test_install()
- 11.x core/modules/page_cache/tests/modules/page_cache_form_test.install \page_cache_form_test_install()
Implements hook_install().
File
-
core/
modules/ page_cache/ tests/ modules/ page_cache_form_test.install, line 11
Code
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);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.