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.
Any changes made to header in hook_webform_csv_header_alter() are not visible in actual CSV export file.
This blocks localization of export files: #2209419: Refactor component localization process and add missing translations.
Comment | File | Size | Author |
---|---|---|---|
#1 | webform-csv_header_alter_hook-2210433-1.patch | 1.05 KB | mikran |
Comments
Comment #1
mikran CreditAttribution: mikran commentedAttached patch moves alter hook few lines up so alterations can be made prior to merging component header to overall CSV header.
Comment #2
quicksketchDoh, haha. You're quite right. It took me a couple minutes to find the bug even when I was looking right at it. This may need to be applied to the 3.x branch as well.
Comment #3
quicksketchCommitted to all branches. Thanks!
Comment #6
quicksketchComment #7
fenstratNeeds porting to 8.x-4.x.
Comment #8
fenstratCommitted and pushed 5ce29f2 to 8.x-4.x. Thanks!