1 entityreference_plugin_display.inc entityreference_plugin_display::execute()

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

core/modules/entityreference/views/entityreference_plugin_display.inc, line 34
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);
}