function rules_ui_delete_element_submit
Rule config deletion form submit callback.
File
-
ui/
ui.forms.inc, line 383
Code
function rules_ui_delete_element_submit($form, &$form_state) {
$rules_config = $form_state['rules_config'];
$rules_config->save();
if (empty($form_state['redirect'])) {
$form_state['redirect'] = RulesPluginUI::defaultRedirect($form_state['element_parent']);
}
}