You are here

function notifications_anonymous_subscription_form in Notifications 6.4

Anonymous Subscription form builder. Adds destination subform.

1 string reference to 'notifications_anonymous_subscription_form'
notifications_anonymous_forms in notifications_anonymous/notifications_anonymous.module
Implementation of hook_forms()

File

notifications_anonymous/notifications_anonymous.module, line 205
Notifications for anonymous users

Code

function notifications_anonymous_subscription_form(&$form_state, $subscription, $destination_path = '') {
  $account = drupal_anonymous_user();
  $form = notifications_subscription_form($form_state, $subscription, $destination_path);
  $form = notifications_subscription_destination_subform($form, $account, NULL, NULL, 20);
  return $form;
}