You are here

function classified_field_formatter_settings_summary in Classified Ads 7.3

Implements hook_field_formatter_settings_summary().

We do not test the formatter type since we only defined one.

File

./classified.module, line 985
A pure D7 classified ads module inspired by the ed_classified module.

Code

function classified_field_formatter_settings_summary($field, $instance, $view_mode) {
  $display = $instance['display'][$view_mode];
  $settings = $display['settings'];
  $ret = $settings['link_title'] ? t('With link title') : t('Without link title');
  return $ret;
}