fix: #3551513 When altering webforms to add attachments, supply the Webform object
When altering webforms to add attachments, supply the Webform object so it still works in cases where the webform cannot be determined from the route.
Closes #3551513
Edited by Liam Morland