You are here

public function Attachment::execute in Views (for Drupal 7) 8.3

When used externally, this is how a view gets run and returns data in the format required.

The base class cannot be executed.

Overrides DisplayPluginBase::execute

File

lib/Drupal/views/Plugin/views/display/Attachment.php, line 52
Definition of 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']);
}