Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[TASK] Add getView and getRequest to event #1169

Open
wants to merge 2 commits into
base: typo3-v12
Choose a base branch
from

Conversation

sypets
Copy link
Contributor

@sypets sypets commented Oct 17, 2024

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 in2code-de/powermail_cleaner#1

I hope this might be generally useful as well.

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.
@sypets sypets force-pushed the add-view-to-FormControllerFormActionEvent branch from 33d9824 to c6a766e Compare October 17, 2024 07:42
@sypets sypets changed the title [TASK] Add getView to FormControllerFormActionEvent [TASK] Add getView and getRequest to event Oct 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant