You are here

public function Notifications_Subscription::form_edit in Notifications 7

Get edit form for this subscription

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

File

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

Class

Notifications_Subscription
Common base for subscription type and subscription instance

Code

public function form_edit($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_editable_fields()) {
    $form['subscription_fields'] = $this
      ->element_fields_edit($fields);
  }
  return $form;
}