You are here

function demo_reset_confirm_submit in Demonstration site (Sandbox / Snapshot) 6

Same name and namespace in other branches
  1. 5 demo.admin.inc \demo_reset_confirm_submit()
  2. 7 demo.admin.inc \demo_reset_confirm_submit()

Form submit handler for demo_reset_confirm().

File

./demo.admin.inc, line 212
Demonstration Site administrative pages

Code

function demo_reset_confirm_submit($form, &$form_state) {

  // Reset site to chosen snapshot.
  _demo_reset($form_state['values']['filename']);
  $form_state['redirect'] = 'admin/build/demo';
}