Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merged PR 48049: Refactor getRequest() in EmailCapturePlugin
## What's being changed A plugin to a controller in the Email module. ## Why it's being changed - Using `$this->getRequest()` in controllers is not allowed - we have to use `$context->getRequest()`. ## How to review / test this change - Put a breakpoint in the plugin - Start a chat - Enter an email in the newsletter input - After submit the email should be picked up in the plugin via an AJAX request Related work items: #223644
- Loading branch information