You are here

function panopoly_widgets_field_formatter_settings_summary in Panopoly Widgets 7

Implements hook_field_formatter_settings_summary().

File

./panopoly_widgets.spotlight.inc, line 142
A specification for the custom spotlight entity that is part of Panopoly Widgets

Code

function panopoly_widgets_field_formatter_settings_summary($field, $instance, $view_mode) {
  $display = $instance['display'][$view_mode];
  $settings = $display['settings'];
  $summary = t('Image Style: @style', array(
    '@style' => $settings['image_style'],
  ));
  return $summary;
}