function reference_table_formatter_base_type::get_entity_property_label in Reference Table Formatter 7
Get the label of a property.
Parameters
$info: The info array from the entity API.
Return value
string The label to use for the given property.
2 calls to reference_table_formatter_base_type::get_entity_property_label()
- reference_table_formatter_base_type::get_entity_properties in ./
reference_table_formatter_base_type.inc - Get the properties off an entity that are available for rendering.
- reference_table_formatter_entityreference::get_entity_property_label in plugins/
reference_types/ entityreference.inc
1 method overrides reference_table_formatter_base_type::get_entity_property_label()
- reference_table_formatter_entityreference::get_entity_property_label in plugins/
reference_types/ entityreference.inc
File
- ./
reference_table_formatter_base_type.inc, line 111 - A base class for the "reference type" plugin.
Class
- reference_table_formatter_base_type
- Class reference_table_formatter_base_type
Code
function get_entity_property_label($info) {
return $info['label'];
}