Problem/Motivation
Currently, if you have a view with an exposed filter, and you expose the operator for it, the label is hard-coded to "Operator"
. The only way to change it is to implement a hook form alter, which is not accessible to site builders, and will likely break if the configuration for the view changes.
Proposed resolution
Make it configurable via the UI so that site builders can configure it, and export it with the rest of the view.
Remaining tasks
Write patchWrite update pathWrite update path testWrite test for the new setting- Review
- Commit
User interface changes
A new form element is exposed to the users when configuring a views exposed filter.
API changes
None.
Data model changes
New views data type schema operator_label.
Release notes snippet
Views exposed filters that also expose the operator are now able to configure the label for the operator.