Closed (outdated)
Project:
TableField
Version:
7.x-3.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
12 Jun 2017 at 06:25 UTC
Updated:
22 Dec 2025 at 20:42 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
arunkumarkComment #3
arunkumarkI have created Patch for Caption Formatted Field.
Comment #4
lolandese commentedLooks good for me. Maybe the existing table field defaults in the content type settings and table field values on existing content should be converted (preferably to Plain text format if it exists) in a hook_update_N().
Comment #5
arunkumark@lolandese thanks for guiding.
I have re-rolled patch for updating existing caption values that stored in the text field.
Comment #6
lolandese commentedYou should provide a new hook_update_N() as
function tablefield_update_7007()instead of inserting code in the existingtablefield_update_7003().Comment #7
arunkumarkCreated new patch that will clean version of the last patch with new
hook_update_NComment #8
hgoto commentedThis is a nice improvement! I saw the patch #7 and found some points.
1.
We need to set a proper field names here, right? Or, you can use
field_read_fields(['type' => 'tablefield'])and$field['storage']['details']to get table names for Tablefield fields.2.
What does part do? It seems we don't need to re-set
rebuild,importandpastehere. All we want to change iscaption, right?Comment #9
liam morlandDrupal 7 is no longer supported. If this applies to a supported version, please re-open.