function views_plugin_display_attachment::execute in Views (for Drupal 7) 6.3
Same name and namespace in other branches
- 6.2 plugins/views_plugin_display_attachment.inc \views_plugin_display_attachment::execute()
- 7.3 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 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);
}