function url_alter_test_install

Same name in other branches
  1. 7.x modules/simpletest/tests/url_alter_test.install \url_alter_test_install()
  2. 9 core/modules/system/tests/modules/url_alter_test/url_alter_test.install \url_alter_test_install()

Implements hook_install().

File

core/modules/system/tests/modules/url_alter_test/url_alter_test.install, line 11

Code

function url_alter_test_install() {
    // Set the weight of this module to one higher than forum.module.
    module_set_weight('url_alter_test', 2);
}

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