You are here

function editablefields_field_formatter_settings_summary in Editable Fields 7

Implements hook_field_formatter_settings_summary().

File

./editablefields.module, line 186
Editable fields module.

Code

function editablefields_field_formatter_settings_summary($field, $instance, $view_mode) {
  $display = $instance['display'][$view_mode];
  $settings = editablefields_field_formatter_default_settings($display['settings'], $field);
  return t('Fallback formatter: @formatter', array(
    '@formatter' => $settings['fallback_format'],
  ));
}