You are here

function Notifications_Subscription::fields_edit_elements in Notifications 7

Get elements to edit fields. Subscription can override the fieldset

1 call to Notifications_Subscription::fields_edit_elements()
Notifications_Subscription::fields_edit_fieldset in ./notifications.subscription.inc
Get a subform to edit field elements.

File

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

Class

Notifications_Subscription
Common base for subscription type and subscription instance

Code

function fields_edit_elements($fields = NULL) {
  $fields = isset($fields) ? $fields : $this
    ->get_fields();
  $elements = array();
  foreach ($fields as $index => $field) {
    $elements[$index] = $this
      ->field_edit_element($field);
  }
}