views-view-opml.html.twig
Same filename in this branch
Same filename in other branches
- 9 core/themes/stable9/templates/views/views-view-opml.html.twig
- 9 core/themes/stable/templates/views/views-view-opml.html.twig
- 9 core/themes/classy/templates/views/views-view-opml.html.twig
- 9 core/modules/views/templates/views-view-opml.html.twig
- 10 core/themes/stable9/templates/views/views-view-opml.html.twig
- 10 core/modules/views/templates/views-view-opml.html.twig
- 11.x core/themes/stable9/templates/views/views-view-opml.html.twig
- 11.x core/modules/views/templates/views-view-opml.html.twig
Default template for feed displays that use the OPML style.
Available variables:
- title: The title of the feed (as set in the view).
- updated: The modified date of the feed.
- items: The feed items themselves.
See also
template_preprocess_views_view_opml()
File
-
core/
modules/ views/ templates/ views-view-opml.html.twig
View source
- {#
- /**
- * @file
- * Default template for feed displays that use the OPML style.
- *
- * Available variables:
- * - title: The title of the feed (as set in the view).
- * - updated: The modified date of the feed.
- * - items: The feed items themselves.
- *
- * @see template_preprocess_views_view_opml()
- *
- * @ingroup themeable
- */
- #}
- <?xml version="1.0" encoding="utf-8"?>
- <opml version="2.0">
- <head>
- <title>{{ title }}</title>
- <dateModified>{{ updated }}</dateModified>
- </head>
- <body>
- {{ items }}
- </body>
- </opml>
Related topics
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.