You are here

function rolereference_views_plugin_display::execute in Role 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

includes/rolereference_views_plugin_display.inc, line 9
Handler for node_reference_views_plugin_display.

Class

rolereference_views_plugin_display
@file Handler for node_reference_views_plugin_display.

Code

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