You are here

public function VarsExtendedTestVars::__construct in Variable API 6.2

Same name and namespace in other branches
  1. 6 tests/vars_extended_test.module \VarsExtendedTestVars::__construct()
  2. 7.2 tests/vars_extended_test.module \VarsExtendedTestVars::__construct()
  3. 7 tests/vars_extended_test.module \VarsExtendedTestVars::__construct()

Constructs a Vars object.

Parameters

$module: The name of the module that implements the class.

$options: An array of options. The currently defined option is 'sysVars', used to define the default values for variables defined from modules not using Variable API.

Overrides Vars::__construct

File

tests/vars_extended_test.module, line 10
Module for testing the Variable API module.

Class

VarsExtendedTestVars
@file

Code

public function __construct() {
  parent::__construct('vars_extended_test');
}