Skip to main content
Drupal is a registered trademark of Dries Buytaert
Release: Charts 5.2.4 Minor update available for module charts (5.2.4). Release: Tagify 2.0.3 Minor update available for module tagify (2.0.3). Release: Tagify 1.2.54 Minor update available for module tagify (1.2.54). Release: ECA: Event - Condition - Action 3.1.8 Minor update available for module eca (3.1.8). Release: GoogleTag Manager 2.0.5 Minor update available for module gtm (2.0.5). Release: GoogleTag Manager 2.0.4 Minor update available for module gtm (2.0.4). Release: X-Frame-Options Allow-From webvisor.com 2.0.4 Minor update available for module xframe_allow_webvisor (2.0.4). Release: Commerce ML Starter 2.0.5 Minor update available for module cmlstarter (2.0.5). Usage Milestone: Easy Email Module easy_email crossed 10,000 active installs. Security Coverage: Menu Link By Default Module menu_link_by_default now has official Drupal security advisory coverage.

Views REST Export Field Grouping

55 sites No security coverage Drupal 10–11

Part of the Views ecosystem · 208 projects

View on drupal.org

This module enhances Drupal's REST export capabilities for Views. It allows you to group exported results based on the values of a selected field, or even by the first letter of those values.

The Views REST Field Grouping module extends the core Views serializer style plugin for REST export. This module provides the ability to group results based on a selected field and also allows grouping by the first letter of the field value. Enhance REST export in Views by enabling customizable grouping of results based on fields.

Features

  • Group results by a selected field.
  • Group results by the first letter of the field value.

Installation

Install the module using the standard Drupal module installation procedure.

How to Use

  1. Add a new View as you normally would.
  2. Add a new display of type 'REST export'.
  3. In the 'Format' section, choose 'Serializer(With Grouping)' as the style plugin.
  4. Configure the Format settings:
    • In the 'Grouping field' option, select a field based on which you want to group the results.
    • Check the 'Group by first letter' option if you want to group the results by the first letter of the selected field value.
  5. Save the View and test your REST export with the chosen grouping settings.

Depends on

Dependencies of the latest stable release

  • rest Drupal core
  • views Drupal core

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
3
Tracked since
Nov 2024
Latest release
5 months ago
Releases (12 mo)
2 ▲ from 1
Maintenance
Active

Release Timeline

Releases

Version Type Core Release date
2.1.0 Stable 10–11 Mar 18, 2026
2.0.0 Stable 10–11 Mar 18, 2026
1.0.3 Stable 8–11 Nov 5, 2024