You are here

function variable_type_include in Variable 7

Same name and namespace in other branches
  1. 7.2 variable.module \variable_type_include()

Include variable type files

1 call to variable_type_include()
variable_include in ./variable.module
Include extended API and files related to specific variable

File

./variable.module, line 458
Variable API module

Code

function variable_type_include($type) {
  variable_include();
  $info = variable_get_type($type);
  variable_module_include($info['module']);

  // Include subtype if any
  if (!empty($info['type'])) {
    variable_type_include($info['type']);
  }
}