Problem/Motivation
Themes can alter forms (https://git.drupalcode.org/project/drupal/-/blob/9.2.x/core/lib/Drupal/C...), but they can't alter inline entity forms using.
Proposed resolution
Make it so that themes can also use hook_inline_entity_form_entity_form_alter() and hook_inline_entity_form_reference_form_alter().
Issue fork inline_entity_form-3224955
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
rp7 commentedComment #5
podaroktnx
Comment #7
geek-merlinBulk reopen.
Comment #8
geek-merlinReview:
- Regression risk? Very low, so can be committed without tests.
- Why do some hooks also dispatch to themes, why others not?
-
hook_views_ui_display_tab_alterhas a good explanation:- Does this need an update in ief.api-php?
- Yes, will do that on commit.
Comment #9
geek-merlinAlso added a Change record for the new constructor argument, just to be sure:
https://www.drupal.org/node/3413055
Comment #11
geek-merlinDone.
Comment #12
dwwSo you're still adding new features to the 3.x branch, and therefore the 3.0.x series? I thought part of the problem with the 2.0.x branch is that it was ignoring semver. 3.0.x should really be only bug fixes and tasks at this point. We probably need a 3.0.x branch now, so we can backport stable-only changes there, and leave 3.x as "main", for new features towards the 3.1.x series.
Comment #13
geek-merlin@dww: The problem with 2.x was missing QA making thousands to test rabbits. Not semver.
Having said that, i'm split what the best semver policy is for the future. For now imho it's RC still.
But as i said in the stable release issue, RC18 may be the last.
Opened #3413068: Maintenance policy.