You are here

function nodejs_notify_settings_form_submit in Node.js integration 7

Same name and namespace in other branches
  1. 6 nodejs_notify/nodejs_notify.module \nodejs_notify_settings_form_submit()

Form submit for settings form

1 string reference to 'nodejs_notify_settings_form_submit'
nodejs_notify_settings_form in nodejs_notify/nodejs_notify.module
Settings form

File

nodejs_notify/nodejs_notify.module, line 104

Code

function nodejs_notify_settings_form_submit(&$form, &$form_state) {
  variable_set('nodejs_notify_notification_lifetime_seconds', $form_state['values']['notification_lifetime']);
  drupal_set_message(t("Notification settings saved."));
}