You are here

function notifications_subscription_build in Notifications 7

Build subscription object properly

Parameters

$subscription: Subscription object, or array of properties or subscription type

2 calls to notifications_subscription_build()
notifications_save_subscription in ./notifications.module
Update or create subscription
notifications_subscription_base_form in ./notifications.pages.inc
Base subscription form. Present the main fields and check all values

File

./notifications.module, line 759
Notifications module

Code

function notifications_subscription_build($subscription) {
  return Notifications_Subscription::build_object($subscription);
}