You are here

function demo_reset_block_form_submit in Demonstration site (Sandbox / Snapshot) 7

Same name and namespace in other branches
  1. 6 demo_reset.module \demo_reset_block_form_submit()

Form submit handler for demo_reset_block_form().

File

demo_reset/demo_reset.module, line 168
Demonstration site reset module.

Code

function demo_reset_block_form_submit($form, &$form_state) {
  demo_reset($form_state['values']['filename']);
  $form_state['redirect'] = $form_state['values']['redirect'];
}