Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 299773

Remove duplicate code in Views FilterPluginBase::buildExposedFiltersGroupForm

$
0
0

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


Viewing all articles
Browse latest Browse all 299773

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>