function views_handler_field_entity::pre_render
Load the entities for all rows that are about to be displayed.
Overrides views_handler_field::pre_render
File
-
handlers/
views_handler_field_entity.inc, line 82
Class
- views_handler_field_entity
- A handler to display data from entity objects.
Code
public 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);
}
}