You are here

function entityreference_plugin_display::execute in Entity reference 7

When used externally, this is how a view gets run and returns data in the format required.

The base class cannot be executed.

Overrides views_plugin_display::execute

File

views/entityreference_plugin_display.inc, line 32
Handler for entityreference_plugin_display.

Class

entityreference_plugin_display
@file Handler for entityreference_plugin_display.

Code

function execute() {
  return $this->view
    ->render($this->display->id);
}