You are here

function i18n_field_field_formatter_info in Internationalization 7

Implements hook_field_formatter_info().

File

i18n_field/i18n_field.module, line 120
Internationalization (i18n) module - Field handling

Code

function i18n_field_field_formatter_info() {
  $types = array();
  foreach (i18n_field_type_info() as $type => $info) {
    if (!empty($info['translate_options'])) {
      $types[] = $type;
    }
  }
  return array(
    'i18n_list_default' => array(
      'label' => t('Default translated'),
      'field types' => $types,
    ),
  );
}