Views exposed filters form alter not call

Created on 23 March 2022, over 2 years ago
Updated 2 March 2023, over 1 year ago

Problem/Motivation

I try to alter exposed filter form to change value with

function MODULE_form_views_exposed_form_alter(&$form, FormStateInterface $form_state, $form_id) {
or
function MODULE_form_alter(&$form, FormStateInterface $form_state, $form_id) {

but hook never call.
When i exposed form in block the hooks work fine.

Steps to reproduce

Create a view with exposed filter form.
add form_alter function in you module and debug.
after that, expose form in block and try again.

Thank you

🐛 Bug report
Status

Closed: cannot reproduce

Version

9.3

Component
Views 

Last updated about 4 hours ago

Created by

🇮🇹Italy trickfun

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • First commit to issue fork.
Production build 0.71.5 2024