function rules_forms_settings_submit in Rules 6
Submit handler to save settings.
1 string reference to 'rules_forms_settings_submit'
- rules_forms_admin_events in rules_forms/
rules_forms.admin.inc - Defines the forms events settings form
File
- rules_forms/
rules_forms.admin.inc, line 54 - Implements forms events management screen.
Code
function rules_forms_settings_submit($form_id, $form_values) {
$_SESSION['rules_forms_message'] = (bool) $form_values['values']['enable_form_activation_message'];
$_SESSION['rules_forms_element_ids'] = (bool) $form_values['values']['enable_form_element_ids'];
drupal_set_message(t('The settings have been saved.'));
}