W3cubDocs

/Drupal 8

views-view-rss.html.twig

Default template for feed displays that use the RSS style.

Available variables:

  • link: The link to the feed (the view path).
  • namespaces: The XML namespaces (added automatically).
  • title: The title of the feed (as set in the view).
  • description: The feed description (from feed settings).
  • langcode: The language encoding.
  • channel_elements: The formatted channel elements.
  • items: The feed items themselves.

See also

template_preprocess_views_view_rss()

File

core/modules/views/templates/views-view-rss.html.twig

Related topics

Theme system overview
Functions and templates for the user interface that themes can override.

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!modules!views!templates!views-view-rss.html.twig/8.1.x