function devel_execute_form_submit

Processes 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 1459

Code

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