You are here

function og_vocab_field_formatter_settings_summary in OG Vocabulary 7

Implements hook_field_formatter_settings_summary().

File

./og_vocab.module, line 611
Give each group its own system controlled vocabularies.

Code

function og_vocab_field_formatter_settings_summary($field, $instance, $view_mode) {
  $display = $instance['display'][$view_mode];
  $settings = $display['settings'];
  $summary = array();
  $summary[] = $settings['concatenate'] ? t('Show concatenated terms') : t('Show list of terms, grouped by vocabulary');
  return implode('<br />', $summary);
}