Drupal/edit/EditController, Drupal/edit/Access/EditEntityFieldAccessCheck still rely on field_valid_language().
That function is now totally obsolete, and all the "old Field multilingual API" needs to be removed in #2067079: Remove the Field Language API.
The logic in edit.module should move to the new Entity API logic - probably $entity->hasTranslation() ?
Comment | File | Size | Author |
---|---|---|---|
#3 | edit_field_valid_language-2155665-3.patch | 3.96 KB | Wim Leers |
Comments
Comment #1
yched CreditAttribution: yched commentedbeta target, since this is blocking #2067079: Remove the Field Language API
Comment #2
Wim LeersOn it.
Comment #3
Wim LeersEt voilà.
Very happy to be able to delete that ugly hack in
EditEntityFieldAccessCheckTest
:)Comment #4
Wim LeersComment #5
yched CreditAttribution: yched commentedDélicieux :-) Merci @Wim !
Comment #6
Gábor HojtsyYay, thanks, looks good for me too :)
Comment #7
webchickCommitted and pushed to 8.x. Thanks!
Comment #8
Wim Leers