Allow other modules to alter summary item info arrays

Created on 3 February 2023, almost 2 years ago
Updated 28 February 2023, almost 2 years ago

Problem/Motivation

Different Views Filter Plugins may have a different shape for the values array. Currently `buildFilterDefinition` only supports simple value filters and specific cases of term references and bundle filters. There is no way to handle other filter plugins.

Steps to reproduce

Create a view with an exposed datetime filter. The filter value will not be displayed in the summary.

Proposed resolution

Add an alter hook to the `buildFilterDefinition` method.

Remaining tasks

n/a

User interface changes

n/a

API changes

Adds `HOOK_views_filters_summary_info_alter`

Data model changes

n/a

✨ Feature request
Status

Fixed

Version

2.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States pixelwhip

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024