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 the file_usage tracking in webform_webform_submission_presave()
(and related hook implementations) is hard-coded to only trigger when the component has the type 'file'
. I’d propose to use a new component feature for that instead in order to allow other component types to trigger the same behaviour.
Comments
Comment #2
torotil CreditAttribution: torotil at more onion commentedComment #4
Liam MorlandThanks!
Comment #6
torotil CreditAttribution: torotil at more onion commentedThanks Liam, for picking this up!