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.

CommentFileSizeAuthor
#1 hook_field_prepare_view-2511026-1.patch689 bytesDeciphered
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Deciphered’s picture

Status: Active » Needs review
FileSize
689 bytes

  • vitalie committed 8d94e9f on 7.x-2.x authored by Deciphered
    Issue #2511026 by Deciphered: Implement hook_field_prepare_view()
    
vitalie’s picture

Status: Needs review » Fixed

Many thanks @Deciphered!

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.