You are here

public function Feed::render 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::render()
  2. 9 core/modules/views/src/Plugin/views/display/Feed.php \Drupal\views\Plugin\views\display\Feed::render()

Renders this display.

Overrides DisplayPluginInterface::render

File

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

Class

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

Namespace

Drupal\views\Plugin\views\display

Code

public function render() {
  $build = $this->view->style_plugin
    ->render($this->view->result);
  $this
    ->applyDisplayCacheabilityMetadata($build);
  return $build;
}