1 entityreference_plugin_display.inc entityreference_plugin_display::render()

Render this display.

Overrides views_plugin_display::render

File

core/modules/entityreference/views/entityreference_plugin_display.inc, line 38
Handler for entityreference_plugin_display.

Class

entityreference_plugin_display
@file Handler for entityreference_plugin_display.

Code

function render() {
  if (!empty($this->view->result) || !empty($this->view->style_plugin->definition['even empty'])) {
    return $this->view->style_plugin->render($this->view->result);
  }
  return '';
}