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.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

bojanz created an issue. See original summary.

bojanz’s picture

Status: Active » Needs review
FileSize
5.14 KB

  • bojanz committed b2dc1a9 on 8.x-2.x
    Issue #3075282 by bojanz: Introduce alter hooks for inline forms
    
    hanges...
bojanz’s picture

Status: Needs review » Fixed

Committed.

A bit of fuzz in the commit message from a messed up git commit --amend.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.