1 views_handler_field_entity.inc | views_handler_field_entity::pre_render(&$values) |
Load the entities for all rows that are about to be displayed.
Overrides views_handler_field::pre_render
File
- core/
modules/ views/ handlers/ views_handler_field_entity.inc, line 77 - Definition of views_handler_field_entity.
Class
- views_handler_field_entity
- A handler to display data from entity objects.
Code
function pre_render(&$values) {
if (!empty($values)) {
list($this->entity_type, $this->entities) = $this->query->get_result_entities($values, !empty($this->relationship) ? $this->relationship : NULL, $this->field_alias);
}
}