You are here

public function Feed::execute in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/views/src/Plugin/views/display/Feed.php \Drupal\views\Plugin\views\display\Feed::execute()
  2. 9 core/modules/views/src/Plugin/views/display/Feed.php \Drupal\views\Plugin\views\display\Feed::execute()

Executes the view and returns data in the format required.

The base class cannot be executed.

Overrides PathPluginBase::execute

File

core/modules/views/src/Plugin/views/display/Feed.php, line 125

Class

Feed
The plugin that handles a feed, such as RSS or atom.

Namespace

Drupal\views\Plugin\views\display

Code

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