You are here

abstract public function reference_table_formatter_base_type::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.

1 call to reference_table_formatter_base_type::renderable_properties()
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.
5 methods override reference_table_formatter_base_type::renderable_properties()
reference_table_formatter_commerce_product_reference::renderable_properties in plugins/reference_types/commerce_product_reference.inc
Get a list of properties off the target entity which are renderable.
reference_table_formatter_entityreference::renderable_properties in plugins/reference_types/entityreference.inc
Get a list of properties off the target entity which are renderable.
reference_table_formatter_field_collection::renderable_properties in plugins/reference_types/field_collection.inc
Get a list of properties off the target entity which are renderable.
reference_table_formatter_paragraphs::renderable_properties in plugins/reference_types/paragraphs.inc
Get a list of properties off the target entity which are renderable.
reference_table_formatter_taxonomy_term_reference::renderable_properties in plugins/reference_types/taxonomy_term_reference.inc
Get a list of properties off the target entity which are renderable.

File

./reference_table_formatter_base_type.inc, line 57
A base class for the "reference type" plugin.

Class

reference_table_formatter_base_type
Class reference_table_formatter_base_type

Code

public abstract function renderable_properties();