I have some credential requirements for my modules in security.yml.
How can i run a method before this checking is done? Is there any events for doing this?
I have some credential requirements for my modules in security.yml. How can i run
Share
Filters might be what you need.
Filters are run first every time your application runs.
Just add a filter in the apps/(front|back)end/config/filters.yml file:
And create the class in lib/: