powermail icon indicating copy to clipboard operation
powermail copied to clipboard

[TASK] Add getView and getRequest to event

Open sypets opened this issue 4 months ago • 0 comments

Add more methods to the event FormControllerFormActionEvent. It is now possible to also retrieve the view and request from this event. This makes it possible to - for example - add variables to the view.


Adding this so that traw/powermailcaptcha can add a variable to the view directly, instead of having to XCLASS FormController, see https://github.com/in2code-de/powermail_cleaner/issues/1

I hope this might be generally useful as well.

sypets avatar Oct 17 '24 06:10 sypets