You are here

function sexybookmarks_field_formatter_settings_summary in Share Buttons, Related Posts, Content Analytics - Shareaholic 7

Same name and namespace in other branches
  1. 7.2 includes/field_ui.inc \sexybookmarks_field_formatter_settings_summary()

Implements hook_field_formatter_settings_summary().

File

includes/field_ui.inc, line 73
Field UI module integration.

Code

function sexybookmarks_field_formatter_settings_summary($field, $instance, $view_mode) {
  $display = $instance['display'][$view_mode];
  return t('Profile: !profile', array(
    '!profile' => !empty($display['settings']['sexybookmarks_profile']) ? $display['settings']['sexybookmarks_profile'] : t('None'),
  ));
}