ModifyResolvedFrontendGroupsEvent¶
New in version 11.5
This event is intended to restore the functionality found in the
get
authentication service that was removed in TYPO3 v11.
The PSR-14 event \TYPO3\
event allows frontend groups to be added to a (frontend) request, regardless of
whether a user is logged in or not.
Example¶
Note
Currently, we do not have an example for this event. If you can provide a useful one, please open an issue with your code snippets or a pull request.
API¶
- class ModifyResolvedFrontendGroupsEvent ¶
-
- Fully qualified name
-
\TYPO3\
CMS\ Frontend\ Authentication\ Modify Resolved Frontend Groups Event
Event listener to allow to add custom Frontend Groups to a (frontend) request regardless if a user is logged in or not.
- getRequest ( ) ¶
-
- Returns
-
\Psr\
Http\ Message\ Server Request Interface
- getUser ( ) ¶
-
- Returns
-
\TYPO3\
CMS\ Frontend\ Authentication\ Frontend User Authentication
- getGroups ( ) ¶
-
- Returns
-
array
- setGroups ( array $groups) ¶
-
- param $groups
-
the groups