url_alter_test.install

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

File

modules/simpletest/tests/url_alter_test.install

View source
<?php


/**
 * Impelement hook_install().
 */
function url_alter_test_install() {
    // Set the weight of this module to one higher than forum.module.
    db_update('system')->fields(array(
        'weight' => 2,
    ))
        ->condition('name', 'url_alter_test')
        ->execute();
}

Functions

Title Deprecated Summary
url_alter_test_install Impelement hook_install().

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