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.
Inline forms can be hard to modify via regular hook_form_alter(), because they can be used from multiple places.
It would be much easier to have an alter hook that targets the inline form.
So, let's introduce:
- hook_commerce_inline_form_alter()
- hook_commerce_inline_form_PLUGIN_ID_alter()
And document their usage.
Comment | File | Size | Author |
---|---|---|---|
#2 | 3075282-2-inline-form-alter.patch | 5.14 KB | bojanz |
|
Comments
Comment #2
bojanz CreditAttribution: bojanz at Centarro commentedComment #4
bojanz CreditAttribution: bojanz at Centarro commentedCommitted.
A bit of fuzz in the commit message from a messed up git commit --amend.