You are here

function reference_table_formatter_taxonomy_term_reference::renderable_properties in Reference Table Formatter 7

Get a list of properties off the target entity which are renderable.

Make plugin authors explicity define which properties can be rendered so that sensitive information isn't leaked accidently or without a trusted role. A good example is the password on a user reference.

Return value

array An array of properties on the target entity which can be rendered.

Overrides reference_table_formatter_base_type::renderable_properties

File

plugins/reference_types/taxonomy_term_reference.inc, line 37

Class

reference_table_formatter_taxonomy_term_reference
Class reference_table_formatter_field_collection

Code

function renderable_properties() {
  return array(
    'name',
  );
}