You are here

public function views_plugin_display_attachment::execute in Views (for Drupal 7) 7.3

Same name and namespace in other branches
  1. 6.3 plugins/views_plugin_display_attachment.inc \views_plugin_display_attachment::execute()
  2. 6.2 plugins/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

plugins/views_plugin_display_attachment.inc, line 40
Definition of views_plugin_display_attachment.

Class

views_plugin_display_attachment
The plugin that handles an attachment display.

Code

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