You are here

function bxslider_field_formatter_settings_summary in BxSlider 7

Implements hook_field_formatter_settings_summary().

File

./bxslider.module, line 1063
Fields integration with BxSlider.

Code

function bxslider_field_formatter_settings_summary($field, $instance, $view_mode) {
  $display = $instance['display'][$view_mode];
  $settings = $display['settings'];
  $summary = array();
  if ($display['type'] == 'bxslider_ths') {
    $summary[] = t('BxSlider (with thumbnail slider) configuration');
  }
  elseif ($display['type'] == 'bxslider') {
    $summary[] = t('BxSlider configuration');
  }
  return implode('<br />', $summary);
}