You are here

function rules_ui_form_edit_rules_config_submit in Rules 7.2

Edit a rules configuration form submit callback.

1 string reference to 'rules_ui_form_edit_rules_config_submit'
rules_ui_form_clone_rules_config in ui/ui.forms.inc
Clone a rules configuration form.

File

ui/ui.forms.inc, line 69
Rules User Interface forms.

Code

function rules_ui_form_edit_rules_config_submit($form, &$form_state) {
  $form_state['rules_element']
    ->form_submit($form, $form_state);
  drupal_set_message(t('Your changes have been saved.'));
  if (empty($form_state['redirect'])) {
    $form_state['redirect'] = RulesPluginUI::defaultRedirect($form_state['rules_element']);
  }
}