You are here

function i18n_taxonomy_field_formatter_prepare_view in Internationalization 7

Implements hook_field_formatter_prepare_view().

This preloads all taxonomy terms for multiple loaded objects at once and unsets values for invalid terms that do not exist.

File

i18n_taxonomy/i18n_taxonomy.module, line 192
i18n taxonomy module

Code

function i18n_taxonomy_field_formatter_prepare_view($entity_type, $entities, $field, $instances, $langcode, &$items, $displays) {
  return taxonomy_field_formatter_prepare_view($entity_type, $entities, $field, $instances, $langcode, $items, $displays);
}