You are here

public function Notifications_Subscription::form_view in Notifications 7

Get view only form for this subscription

1 call to Notifications_Subscription::form_view()
Notifications_Subscription::get_form in ./notifications.subscription.inc
Get form for this subscription

File

./notifications.subscription.inc, line 484
Drupal Notifications Framework - Default class file

Class

Notifications_Subscription
Common base for subscription type and subscription instance

Code

public function form_view($operation, $form, &$form_state) {
  $form['subscription_info'] = $this
    ->element_info();
  $form['send_method'] = $this
    ->element_send_method();
  $form['send_interval'] = $this
    ->element_send_interval();
  if ($fields = $this
    ->get_fields(TRUE)) {
    $form['subscription_fields'] = $this
      ->element_fields_info($fields);
  }
  return $form;
}