- Issue created by @broon
- 🇪🇸Spain uridrupal
Would be great to know, I am also experiencing a similar use case with commerce add to cart. Tried using the base_form_id but it didn't work.
- 🇮🇹Italy aronne
Hi guys,
Yes this feature request is totally legit.
I’m gonna work on it in the next couple days.
Stay tuned and text you soonaronne
- Status changed to Needs review
12 months ago 3:35pm 6 December 2023 - 🇮🇹Italy aronne
Hi guys,
please feel free to try this patch and let me know if it works for you as well./** * Class D10TestingFormAlter * * @FormAlter( * id = "d10_form_alter", * label = @Translation("Altering forms."), * form_id={"*"} * ) * * @package Drupal\d10_testing\Plugin\FormAlter */
This definition should alter any existing form. I also tried using "user_*" as form_id.
Anyway, let me know.
Regards,
aronne -
aronne →
authored 9fc10fb7 on 8.x-1.x
Issue #3400099 by aronne, broon: Wildcards in form_id?
-
aronne →
authored 9fc10fb7 on 8.x-1.x
- Status changed to Fixed
11 months ago 7:24am 11 December 2023 - 🇩🇪Germany broon Potsdam
Sorry for being late to the after-work party. I did test it with my custom FormAlter plugins and it works like a charm, good job! If it wasn't fixed and already released in 1.6, I would give it an RTBC. ;)
- Status changed to Fixed
11 months ago 1:19pm 1 January 2024 Automatically closed - issue fixed for 2 weeks with no activity.