function reference_table_formatter_field_collection::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/ field_collection.inc, line 41
Class
- reference_table_formatter_field_collection
- Class reference_table_formatter_field_collection
Code
function load_entity_from_item($item) {
return field_collection_item_load($item['value']);
}