You are here

function Notifications_Subscription::format_field in Notifications 7

Same name and namespace in other branches
  1. 6.4 includes/notifications_subscription.class.inc \Notifications_Subscription::format_field()

Format subscriptions field for display and get some more information

Return value

array() Array with 'name' and 'value' elements

1 call to Notifications_Subscription::format_field()
Notifications_Subscription::format_fields in ./notifications.subscription.inc
Format all fields

File

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

Class

Notifications_Subscription
Common base for subscription type and subscription instance

Code

function format_field($field, $format = self::FORMAT_HTML) {
  return $field
    ->format($format);
}