You are here

function vars_extended_test_install in Variable API 6

Same name and namespace in other branches
  1. 6.2 tests/vars_extended_test.install \vars_extended_test_install()
  2. 7.2 tests/vars_extended_test.install \vars_extended_test_install()
  3. 7 tests/vars_extended_test.install \vars_extended_test_install()

Implements hook_install().

File

tests/vars_extended_test.install, line 12
Install, update and uninstall functions for the Variable API extended test module.

Code

function vars_extended_test_install() {
  drupal_load('module', 'vars_extended_test');
  $vars = new VarsExtendedTestVars();
  $vars
    ->saveDefaults();
}