You are here

function notifications_custom_user_overview_submit in Notifications 6.4

Same name and namespace in other branches
  1. 6 notifications_custom/notifications_custom.module \notifications_custom_user_overview_submit()

Form submission with custom notifications

1 string reference to 'notifications_custom_user_overview_submit'
notifications_custom_form_alter in notifications_custom/notifications_custom.module
Implementation of hook_form_alter().

File

notifications_custom/notifications_custom.module, line 211
Custom notifications module

Code

function notifications_custom_user_overview_submit($form, $form_state) {
  if (notifications_custom_account_update($form_state['values']['account'], $form_state['values']['notifications_custom'])) {
    drupal_set_message(t('Your subscriptions have been updated'));
  }
}