Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
The method exposedFormAlter() is not calling its parent method implementation. This means that all functionality defined by the base class is ignored and thus can lead to unwanted results.
For example the patch making sure query parameters are being preserved when submitting views filters isn't working anymore: https://www.drupal.org/project/drupal/issues/2681953#comment-12173800
Comment | File | Size | Author |
---|---|---|---|
#2 | parent_method_overriden-3100627-2.patch | 697 bytes | Fernly |
Comments
Comment #2
Fernly CreditAttribution: Fernly at Dropsolid for District09 commentedSee the attached patch to resolve the issue.
Comment #3
i-trokhanenkoHi @Fernly,
Thanks for the patch, it works well for me.
Making RTBC.
Comment #5
i-trokhanenko