You are here

public function Attachment::execute in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/views/src/Plugin/views/display/Attachment.php \Drupal\views\Plugin\views\display\Attachment::execute()

Executes the view and returns data in the format required.

The base class cannot be executed.

Overrides DisplayPluginBase::execute

File

core/modules/views/src/Plugin/views/display/Attachment.php, line 52
Contains \Drupal\views\Plugin\views\display\Attachment.

Class

Attachment
The plugin that handles an attachment display.

Namespace

Drupal\views\Plugin\views\display

Code

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