You are here

function notifications_field_format_name in Notifications 6.4

Format field type name

3 calls to notifications_field_format_name()
notifications_field_form_element in includes/object.inc
Build a form element to edit a field
Notifications_Subscription::format_field in includes/notifications_subscription.class.inc
Format subscriptions field for display and get some more information
notifications_subscription_list_form in ./notifications.pages.inc
List form for subscriptions of the same type for a user

File

includes/object.inc, line 208
Notifications object and fields

Code

function notifications_field_format_name($type) {
  $name = notifications_field_type($type, 'name');
  return $name ? $name : t('Unknown');
}