You are here

function hook_i18n_field_info_alter in Internationalization 7

Alter information provided by hook_i18n_field_info().

See also

i18n_field_type_info()

1 invocation of hook_i18n_field_info_alter()
i18n_field_type_info in i18n_field/i18n_field.module
Get i18n information for translating fields.

File

i18n_field/i18n_field.api.php, line 50
API documentation file for Field translation module.

Code

function hook_i18n_field_info_alter(&$info) {

  // Unset the default callback for text fields.
  unset($info['text']['translate_default']);
}