function demo_dump_form_submit in Demonstration site (Sandbox / Snapshot) 6
Same name and namespace in other branches
- 7 demo.admin.inc \demo_dump_form_submit()
Form submit handler for demo_dump_form().
File
- ./
demo.admin.inc, line 139 - Demonstration Site administrative pages
Code
function demo_dump_form_submit($form, &$form_state) {
if ($fileconfig = _demo_dump($form_state['values'])) {
drupal_set_message(t('Successfully created snapshot %filename.', array(
'%filename' => $fileconfig['sqlfile'],
)));
}
$form_state['redirect'] = 'admin/build/demo/manage';
}