aggregator-item.html.twig

Default theme implementation to present a feed item in an aggregator page.

Available variables:

  • url: URL to the originating feed item.
  • title: Title of the feed item.
  • content: All field items. Use {{ content }} to print them all, or print a subset such as {{ content.field_example }}. Use {{ content|without('field_example') }} to temporarily suppress the printing of a given element.
  • attributes: HTML attributes for the wrapper.
  • title_prefix: Additional output populated by modules, intended to be displayed in front of the main title tag that appears in the template.
  • title_suffix: Additional output populated by modules, intended to be displayed after the main title tag that appears in the template.

See also

template_preprocess_aggregator_item()

File

core/modules/aggregator/templates/aggregator-item.html.twig

Related topics

Theme system overview
Functions and templates for the user interface that themes can override.
doc_Drupal
2016-10-29 08:43:50
Comments
Leave a Comment

Please login to continue.