You are here

function entityreference_plugin_display::render in Entity reference 7

Render this display.

Overrides views_plugin_display::render

File

views/entityreference_plugin_display.inc, line 36
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 '';
}