- Issue created by @ergonlogic
- Assigned to ergonlogic
- 🇨🇦Canada ergonlogic Montréal, Québec 🇨🇦
I refactored the
hook_form_alter()
so that I could share most of the code/logic inhook_inline_entity_form_entity_form_alter()
.I also refactored the tests, since they're identical, expect for the path to add the test node. So these are now scenario outlines in the main test.
So far, this works nicely for content-types that use IEF to auto-create ECK entities. However, we'll need to make this recursive, since the ECK bundles could themselves include an IEF.
-
ergonlogic →
committed 949d9ecb on 3425943-ief-support
Relates to #3425943: Add test and related fixtures to test multi-level...
-
ergonlogic →
committed 949d9ecb on 3425943-ief-support
-
ergonlogic →
committed cc15be27 on 3425943-ief-support
Relates to #3425943: Ensure that we're dealing with content entities.
-
ergonlogic →
committed cc15be27 on 3425943-ief-support
- Status changed to Fixed
9 months ago 12:46am 7 March 2024 - 🇨🇦Canada ergonlogic Montréal, Québec 🇨🇦
It turns out that this already works with multi-level IEF fields. I added a test for good measure.
-
ergonlogic →
committed 949d9ecb on main
Relates to #3425943: Add test and related fixtures to test multi-level...
-
ergonlogic →
committed 949d9ecb on main
-
ergonlogic →
committed cc15be27 on main
Relates to #3425943: Ensure that we're dealing with content entities.
-
ergonlogic →
committed cc15be27 on main
-
ergonlogic →
committed 3c0eb685 on main
Relates to #3425943: Add support for IEF fields.
-
ergonlogic →
committed 3c0eb685 on main
-
ergonlogic →
committed c90b54a3 on main
Relates to #3425943: Add test and fixtures for IEF support.
-
ergonlogic →
committed c90b54a3 on main
Automatically closed - issue fixed for 2 weeks with no activity.