You are here

public function GraphQL::execute in GraphQL 8

Same name and namespace in other branches
  1. 8.2 src/Plugin/views/display/GraphQL.php \Drupal\graphql\Plugin\views\display\GraphQL::execute()

Executes the view and returns data in the format required.

The base class cannot be executed.

Overrides DisplayPluginBase::execute

File

src/Plugin/views/display/GraphQL.php, line 113

Class

GraphQL
Provides a display plugin for GraphQL views.

Namespace

Drupal\graphql\Plugin\views\display

Code

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