You are here

function field_timer_field_formatter_settings_summary in Field Timer 7.2

Same name and namespace in other branches
  1. 7 field_timer.module \field_timer_field_formatter_settings_summary()

Implements hook_field_formatter_settings_summary().

File

./field_timer.module, line 215
Main module file.

Code

function field_timer_field_formatter_settings_summary($field, $instance, $view_mode) {
  $display = $instance['display'][$view_mode];
  $settings = $display['settings'];
  $class = $display['type'] . '_' . $field['type'];
  $handler = new $class();
  return implode('<br/>', $handler
    ->getSettingsSummary($settings, $field));
}