1 views_plugin_display_attachment.inc views_plugin_display_attachment::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/views/plugins/views_plugin_display_attachment.inc, line 30
Contains the attachment display plugin.

Class

views_plugin_display_attachment
The plugin that handles an attachment display.

Code

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