You are here

public function Notifications_Subscription_List::form_submit in Notifications 7

Process form submission

File

./notifications.list.inc, line 288
Drupal Notifications Framework - Default class file

Class

Notifications_Subscription_List
List of subscriptions or subscription types

Code

public function form_submit($form, &$form_state) {
  $op = isset($form_state['values']['op']) ? $form_state['values']['op'] : '';
  if ($op == t('Cancel')) {
    $operation = 'cancel';
  }
  else {
    $operation = $form_state['values']['operation'];
  }
  return $this
    ->form_operation($operation, $form, $form_state);
}