aggregator-summary-items.html.twig

Default theme implementation to present feeds as list items.

Each iteration generates a single feed source or category.

Available variables:

  • title: Title of the feed or category.
  • summary_list: Unordered list of linked feed items generated through theme_item_list().
  • source_url: URL to the local source or category.

See also

template_preprocess()

template_preprocess_aggregator_summary_items()

2 theme calls to aggregator-summary-items.html.twig
AggregatorController::sources in drupal/core/modules/aggregator/lib/Drupal/aggregator/Controller/AggregatorController.php
Displays all the feeds used by the Aggregator module.
aggregator_page_categories in drupal/core/modules/aggregator/aggregator.pages.inc
Page callback: Displays all the categories used by the Aggregator module.

File

drupal/core/modules/aggregator/templates/aggregator-summary-items.html.twig
View source
  1. {#
  2. /**
  3. * @file
  4. * Default theme implementation to present feeds as list items.
  5. *
  6. * Each iteration generates a single feed source or category.
  7. *
  8. * Available variables:
  9. * - title: Title of the feed or category.
  10. * - summary_list: Unordered list of linked feed items generated through
  11. * theme_item_list().
  12. * - source_url: URL to the local source or category.
  13. *
  14. * @see template_preprocess()
  15. * @see template_preprocess_aggregator_summary_items()
  16. *
  17. * @ingroup themeable
  18. */
  19. #}
  20. <h3>{{ title }}</h3>
  21. {{ summary_list }}
  22. <div class="links">
  23. <a href="{{ source_url }}">{{ 'More<span class="element-invisible"> posts about %title</span>'|t({ '%title': title }) }}</a>
  24. </div>

Related topics