You are here

function call_php_func_form_submit in Patterns 7.2

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

TODO: Document function

_state

Parameters

unknown $form:

File

patterns_components/components/system.inc, line 628

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']);
}