You are here

function devel_execute_form_submit in Devel 6

Same name and namespace in other branches
  1. 5 devel.module \devel_execute_form_submit()
  2. 7 devel.module \devel_execute_form_submit()

Process PHP execute form submissions.

1 string reference to 'devel_execute_form_submit'
devel_execute_block_form in ./devel.module
Generates the execute block form.

File

./devel.module, line 1261

Code

function devel_execute_form_submit($form, &$form_state) {
  ob_start();
  print eval($form_state['values']['code']);
  dsm(ob_get_clean());
}