You are here

public function Notifications_Subscription::element_fields_info in Notifications 7

Get elements for information fields (non editable)

3 calls to Notifications_Subscription::element_fields_info()
Notifications_Subscription::element_fields in ./notifications.subscription.inc
Get all fields (editable and not editable)
Notifications_Subscription::element_info in ./notifications.subscription.inc
Get subscription form info element
Notifications_Subscription::form_view in ./notifications.subscription.inc
Get view only form for this subscription

File

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

Class

Notifications_Subscription
Common base for subscription type and subscription instance

Code

public function element_fields_info($fields) {
  $elements = array();
  foreach ($fields as $field) {
    $elements[$field->position] = $field
      ->element_info();
  }
  return $elements;
}