abstract public function reference_table_formatter_base_type::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.
1 call to reference_table_formatter_base_type::load_entity_from_item()
- reference_table_formatter_base_type::render_table in ./
reference_table_formatter_base_type.inc - Render a table of content from the plugin.
5 methods override reference_table_formatter_base_type::load_entity_from_item()
- reference_table_formatter_commerce_product_reference::load_entity_from_item in plugins/
reference_types/ commerce_product_reference.inc - Load the target entity from the given item.
- reference_table_formatter_entityreference::load_entity_from_item in plugins/
reference_types/ entityreference.inc - Load the target entity from the given item.
- reference_table_formatter_field_collection::load_entity_from_item in plugins/
reference_types/ field_collection.inc - Load the target entity from the given item.
- reference_table_formatter_paragraphs::load_entity_from_item in plugins/
reference_types/ paragraphs.inc - Load the target entity from the given item.
- reference_table_formatter_taxonomy_term_reference::load_entity_from_item in plugins/
reference_types/ taxonomy_term_reference.inc - Load the target entity from the given item.
File
- ./
reference_table_formatter_base_type.inc, line 68 - A base class for the "reference type" plugin.
Class
- reference_table_formatter_base_type
- Class reference_table_formatter_base_type
Code
public abstract function load_entity_from_item($item);