There's no $this->field
loaded in buildForm()
so all checks should fail
The link added via content_translation_form_field_ui_field_edit_form_alter
This was found in related #2089807: Rename Field::fieldInfo() to FieldService::fieldInfo() for better DX
Related issues
#1946462: Convert content_translation_translatable_form() to the new form interface
Comment | File | Size | Author |
---|---|---|---|
#1 | 2089853-translatable-form.patch | 2.12 KB | andypost |
Comments
Comment #1
andypostuse proper injection
Comment #1.0
andypostUpdated issue summary.
Comment #2
andypostThis could lead to data-loss
Comment #3
dawehnerI prefer your way of solving this: #2089853: TranslatableForm totally broken
Comment #4
BerdirDuplicate of #2050359: Fix TranslatableForm in content translation?
Comment #5
andypostSuppose no because the issue about request object but this one about loading field itself.
I think they could be merged in one solid patch with test
Comment #5.0
andypostadded link
Comment #6
andypostDuplicate of #1946462: Convert content_translation_translatable_form() to the new form interface
Comment #6.0
andypostrelated