You are here

function i18n_field_i18n_field_info in Internationalization 7

Implements hook_i18n_field_info().

File

i18n_field/i18n_field.i18n.inc, line 83
Internationalization (i18n) hooks

Code

function i18n_field_i18n_field_info() {
  $info['text'] = $info['text_long'] = $info['text_with_summary'] = array(
    'translate_default' => 'i18n_field_translate_default',
  );
  $info['list_text'] = $info['list_boolean'] = $info['list_integer'] = array(
    'translate_options' => 'i18n_field_translate_allowed_values',
  );
  return $info;
}