- Issue created by @Rory Downes
Use the proposed patch to the replicate module to allow parameters to be passed to that module's events
Issue: [
https://www.drupal.org/project/replicate/issues/30748722] →
- Allow passing arbitrary properties to the Replicate events
Patch:
https://www.drupal.org/files/issues/2024-01-11/3074872-6.patch →
Send the confirm form field values to the replicate api so that they are available to the events.
This will allow other modules to have a hook_form_alter to add fields and event subscribers to customise replicate based upon
those values.
N/A
Update ReplicateConfirmForm to create a parameters array keyed by the field names with values of those fields. Pass that array to the replicator service replicateEntity method as povided by the above patch to replicate.
I have attached a proposed patch that works for me on replicate UI 8.x-1.1 with replicate 8.x-1.2 with the referenced patch applied.
Review and possibly add/modify tests
None
Pass field names and values to replicate API.
None
Active
1.0
Code