Active
Project:
Forward
Version:
4.0.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
9 Sep 2019 at 20:47 UTC
Updated:
23 May 2020 at 16:12 UTC
Jump to comment: Most recent
I'd like to leverage much of the goodness from forward.module when programmatically sending entities on my site. Currently, all of the code to actually render and send the email is buried inside the submit callback for a form.
Move nearly all the code in ForwardForm::submitForm() into a stand-alone API (perhaps in a new forward.send_entity service or something).
Decide on what it should all be called and where the code lives.
Move the code.
None.
Add new API for sending an entity.
None.
TBD.
Comments
Comment #2
john.oltman commented