You are here

function vars_test_install in Variable API 6.2

Same name and namespace in other branches
  1. 6 tests/vars_test.install \vars_test_install()
  2. 7.2 tests/vars_test.install \vars_test_install()
  3. 7 tests/vars_test.install \vars_test_install()

Implements hook_install().

File

tests/vars_test.install, line 11
Install, update and uninstall functions for the Variable API test module.

Code

function vars_test_install() {
  drupal_load('module', 'vars_test');
  $vars = new VarsTestVars();
  $vars
    ->saveDefaults();
}