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.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

torotil created an issue. See original summary.

torotil’s picture

  • Liam Morland committed 26002af on 7.x-4.x authored by torotil
    Issue #3105679 by torotil: Use component feature to trigger file_usage...
Liam Morland’s picture

Status: Needs review » Fixed

Thanks!

Status: Fixed » Closed (fixed)

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

torotil’s picture

Thanks Liam, for picking this up!