W3cubDocs

/Drupal 8

views-view-grouping.html.twig

Default theme implementation to display a single views grouping.

Available variables:

  • view: The view object.
  • grouping: The grouping instruction.
  • grouping_level: A number indicating the hierarchical level of the grouping.
  • title: The group heading.
  • content: The content to be grouped.
  • rows: The rows returned from the view.

See also

template_preprocess_views_view_grouping()

File

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