You are here

function nat_field_formatter_prepare_view in Node Auto Term [NAT] 7

Same name and namespace in other branches
  1. 7.2 nat.module \nat_field_formatter_prepare_view()

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. [Identical to the taxonomy module equivalent]

File

./nat.module, line 253
NAT - node auto term - is a helper module that automatically creates a term using the same title as a node.

Code

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