Remove duplicate code in Views FilterPluginBase::buildExposedFiltersGroupForm

Created on 25 August 2023, 10 months ago
Updated 26 September 2023, 9 months ago

Problem/Motivation

Drupal\views\Plugin\views\filter\FilterPluginBase::buildExposedFiltersGroupForm contains a chunk of unnecessary duplicate code that sets $form elements with mostly the same elements.

L1074-1114 repeats L1020-1072 except that $form['group_info']['description'] and $form['group_info']['multiple'] isn't present in the chunk starting from L1074.

Steps to reproduce

N/A

Proposed resolution

Remove the smaller duplicated code chunk.

Remaining tasks

User interface changes

API changes

Data model changes

Release notes snippet

πŸ“Œ Task
Status

Fixed

Version

11.0 πŸ”₯

Component
ViewsΒ  β†’

Last updated about 4 hours ago

Created by

πŸ‡ΊπŸ‡ΈUnited States angrytoast Princeton, NJ

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

Comments & Activities

Production build 0.69.0 2024