function vars_test_install in Variable API 6
Same name and namespace in other branches
- 6.2 tests/vars_test.install \vars_test_install()
- 7.2 tests/vars_test.install \vars_test_install()
- 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();
}