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.
#1969728: Implement Field API "field types" as TypedData Plugins adds some field invocation helpers to the storage controller, however they are generally useful for any type of controller and method. We should add a public entity field invocation API (and probably entity hook invocation API) at a level that's not specific to storage + test that those have right multilingual handling.
Comments
Comment #1
fagoComment #2
yched CreditAttribution: yched commentedSounds like they would be fine in EntityManager ?
+ ultimately, the existing field_invoke_method[_multiple]() functional helpers that call methods on external objects (widgets, formatters, other 3rd party stuff) should be moved as methods in there too. Possibly, but maybe not: merged with invokeFieldMethod() (the was a "multiple" version in the "field types as typed data"patch, but it got removed in the last iterations)
Comment #3
BerdirPretty sure that there's nothing left here, the field invoke stuff was all heavily refactored and is tested.