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.
Currently Tablefield data is only prepared during hook_field_presave(), which means that prior to this hook (which is fired on save) the data can not be rendered. Having it renderable means that it could potentially be used in a Node preview, or usable as a Wysiwyg Fields field.
Super simple hook invocation, just needs to iterate over the provided entities and items and pass them through to the existing hook_field_presave() function.
Patch incoming.
Comment | File | Size | Author |
---|---|---|---|
#1 | hook_field_prepare_view-2511026-1.patch | 689 bytes | Deciphered |
Comments
Comment #1
Deciphered CreditAttribution: Deciphered as a volunteer commentedComment #3
vitalie CreditAttribution: vitalie commentedMany thanks @Deciphered!