Updated: Comment #60
The field_attach_form_*() functions:
- are old D7-style functional code
- live in field.module but are called from Core/Entity, which is backwards
- are still formulated in the old entity translation model (receive an $entity and a $langcode)
- are still largely based on code that predates EntityNG / Entity translation (convoluted field_invoke() / field_invoke_method() iterators)
Replace them by simple iterators in EntityFormDisplay objects, that assume that multilingual logic has been resolved upstream.
See #30 / #31 / #40 for discussion leading to EntityFormDisplay.
(obsoletes a previous approach that placed the methods in a new ContentEntityFormHelper service - see #20-#23 for discussion about this former approach)
User interface changes
|PASSED: [[SimpleTest]]: [PHP 5.4 MySQL] 66,734 pass(es).|
|PASSED: [[SimpleTest]]: [PHP 5.4 MySQL] 66,665 pass(es).|
|PASSED: [[SimpleTest]]: [PHP 5.4 MySQL] 66,587 pass(es).|