You are here

public function reference_table_formatter_entityreference::entity_name in Reference Table Formatter 7

The entity types that is referenced by the field.

Return value

string

Overrides reference_table_formatter_base_type::entity_name

4 calls to reference_table_formatter_entityreference::entity_name()
reference_table_formatter_entityreference::get_bundles in plugins/reference_types/entityreference.inc
Get a list of bundles which can be referenced by this field.
reference_table_formatter_entityreference::get_entity_property_label in plugins/reference_types/entityreference.inc
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_entityreference::renderable_properties in plugins/reference_types/entityreference.inc
Get a list of properties off the target entity which are renderable.

File

plugins/reference_types/entityreference.inc, line 35

Class

reference_table_formatter_entityreference
Class reference_table_formatter_field_collection

Code

public function entity_name() {
  return $this->field['settings']['target_type'];
}