You are here

function spaces_preset_delete_form_submit in Spaces 6

Same name and namespace in other branches
  1. 5.2 spaces_admin.inc \spaces_preset_delete_form_submit()
  2. 6.2 spaces_admin.inc \spaces_preset_delete_form_submit()

File

./spaces_admin.inc, line 461

Code

function spaces_preset_delete_form_submit($form, &$form_state) {
  $type = $form_state['values']['type'];
  $preset = $form_state['values']['preset'];
  spaces_preset_delete($type, $preset);
  $form_state['redirect'] = 'admin/build/spaces';
}