You are here

function call_php_func_form_submit in Patterns 6

Same name and namespace in other branches
  1. 6.2 components/system.inc \call_php_func_form_submit()
  2. 7.2 patterns_components/components/system.inc \call_php_func_form_submit()
  3. 7 patterns_components/components/system.inc \call_php_func_form_submit()

File

components/system.inc, line 402

Code

function call_php_func_form_submit($form, &$form_state) {
  $values = $form['#call_php_func'];
  _call_php_func_include_files($values);
  call_user_func_array($values['function'], $values['arguments']);
}