You are here

function reference_table_formatter_taxonomy_term_reference::load_entity_from_item in Reference Table Formatter 7

Load the target entity from the given item.

Parameters

$item: Content items from the field.

Return value

object A loaded entity.

Overrides reference_table_formatter_base_type::load_entity_from_item

File

plugins/reference_types/taxonomy_term_reference.inc, line 44

Class

reference_table_formatter_taxonomy_term_reference
Class reference_table_formatter_field_collection

Code

function load_entity_from_item($item) {
  return taxonomy_term_load($item['tid']);
}