W3cubDocs

/Drupal 8

views-view-summary.html.twig

Default theme implementation to display a list of summary lines.

Available variables:

  • rows: The rows contained in this view. Each row contains:
    • url: The summary link URL.
    • link: The summary link text.
    • count: The number of items under this grouping.
    • attributes: HTML attributes to apply to each row.
    • active: A flag indicating whtether the row is active.
  • options: Flags indicating how the summary should be displayed. This contains:
    • count: A flag indicating whether the count should be displayed.

See also

template_preprocess_views_view_summary()

File

core/modules/views/templates/views-view-summary.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-summary.html.twig/8.1.x