To improve extensibility for other modules, we should implement an event and subscriber for the createContact process. This will allow external components to interact with the logic more efficiently.

Issue fork brevo-3588657

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

kensae created an issue. See original summary.

renrhaf’s picture

Status: Active » Needs work
kensae’s picture

@renrhaf Fixed everything! I rushed the MR a bit and definitely should have double-checked the code first. I was trying to refactor a custom module straight into the fork, which is why there were so many typos.
I've added a todo in the comments to fix the payload on the createContact function call after !18 has been merged.

renrhaf’s picture

Status: Needs work » Fixed

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.