public function entity_views_handler_area_entity::render in Entity API 7
Render the area.
Overrides views_handler_area::render
File
- views/
handlers/ entity_views_handler_area_entity.inc, line 99 - Renders a full entity in a views area.
Class
- entity_views_handler_area_entity
- @file Renders a full entity in a views area.
Code
public function render($empty = FALSE) {
if (!$empty || !empty($this->options['empty'])) {
return $this
->render_entity($this->options['entity_type'], $this->options['entity_id'], $this->options['view_mode']);
}
return '';
}