You are here

function _call_php_func_include_files in Patterns 7

Same name and namespace in other branches
  1. 6.2 components/system.inc \_call_php_func_include_files()
  2. 6 components/system.inc \_call_php_func_include_files()
  3. 7.2 patterns_components/components/system.inc \_call_php_func_include_files()
2 calls to _call_php_func_include_files()
call_php_func_form_submit in patterns_components/components/system.inc
system_patterns_build in patterns_components/components/system.inc

File

patterns_components/components/system.inc, line 546

Code

function _call_php_func_include_files($values) {
  if ($values['type'] && $values['module']) {
    module_load_include($values['type'], $values['module'], $values['name']);
  }
  elseif ($values['filepath']) {
    require_once $values['filepath'];
  }
}