Support attachments with 'filecontent'

Created on 22 December 2022, over 1 year ago
Updated 7 February 2023, over 1 year ago

Problem/Motivation

Currently the code always looks for $attachment['filepath']. We can extend this to also check $attachment["filecontent"].

Steps to reproduce

Modules:

webform: 6.2.x with submodule: webform_entity_print_attachment
entity_print: 2.8.0

- Add webform with an Attachment PDF element
- Add an email handler to send the PDF as an attachment.

Proposed resolution

See patch https://www.drupal.org/files/issues/2022-12-06/3261807-51.patch β†’

Remaining tasks

User interface changes

API changes

Data model changes

✨ Feature request
Status

Fixed

Version

1.1

Component

Code

Created by

πŸ‡¨πŸ‡³China jungle Chongqing, China

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.69.0 2024