You are here

public static function Notifications_Subscription_List::build_from_submission in Notifications 7

Build subscription list instance from form submission

File

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

Class

Notifications_Subscription_List
List of subscriptions or subscription types

Code

public static function build_from_submission($form, &$form_state) {

  // The subscription object should be here, it may be a subscription type
  $subscriptions = $form_state['values']['subscription_list'];
  return $subscriptions;
}