You are here

public function Recipe::execute in Recipe 8.2

Executes the view and returns data in the format required.

The base class cannot be executed.

Overrides PathPluginBase::execute

File

src/Plugin/views/display/Recipe.php, line 123

Class

Recipe
The plugin that handles a recipe format, such as RecipeML.

Namespace

Drupal\recipe\Plugin\views\display

Code

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