Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
In #1950632: Create a FieldDefinitionInterface and use it for formatters and widgets, we introduced FieldDefinitionInterface so that formatters, widgets, and other things that act on fields can act via a more limited interface than all of $field and $instance, and thereby be decoupled from whether the field is configurable or not. In #2032393: Limit APIs to FieldDefinitionInterface when FieldInstance isn't needed, we fixed some places other than formatters and widgets to use this interface. However, that patch missed content_translation_field_sync_widget(). This issue takes care of it.
Comment | File | Size | Author |
---|---|---|---|
content_translation-field_definition.patch | 4.36 KB | effulgentsia | |
Comments
Comment #3
markdorisonPatch no longer applies cleanly.
Comment #13
penyaskitoLooks like this was done long ago at #1953408: Remove ArrayAccess BC layer from field config entities