As the subject suggest, field_view_field() does not pass language to hook_field_attach_view() implementations as field_attach_view() does.
| Comment | File | Size | Author |
|---|---|---|---|
| #6 | tf-1178480-1.patch | 458 bytes | plach |
| #1 | tf-1178480-1.patch | 458 bytes | plach |
As the subject suggest, field_view_field() does not pass language to hook_field_attach_view() implementations as field_attach_view() does.
| Comment | File | Size | Author |
|---|---|---|---|
| #6 | tf-1178480-1.patch | 458 bytes | plach |
| #1 | tf-1178480-1.patch | 458 bytes | plach |
Comments
Comment #1
plachComment #3
plachComment #4
sun#1: tf-1178480-1.patch queued for re-testing.
Comment #6
plachretest
Comment #8
plach#6: tf-1178480-1.patch queued for re-testing.
No failures on my box.
Comment #9
damien tournoud commentedIndeed. This is a big hurdle for language-dependent translations.
Comment #10
webchickIf this is a bug, we ought to be able to add a test that illustrates it, no?
Comment #11
swentel commentedThis is being fixed in #1823306: Language code is missing from $context when hook_field_attach_view_alter() is invoked from field_view_field()