‪TYPO3CMS  11.5
TYPO3\CMS\FrontendLogin\Event\BeforeRedirectEvent Class Reference

Public Member Functions

 __construct (string $loginType, string $redirectUrl, $request)
 
 getLoginType ()
 
 getRedirectUrl ()
 
 setRedirectUrl (string $redirectUrl)
 
 getRequest ()
 

Private Attributes

string $loginType
 
string $redirectUrl
 
ServerRequestInterface $request
 

Detailed Description

Notification before a redirect is made, which also allows to modify the actual redirect URL. Setting the redirect to an empty string will avoid triggering a redirect.

Definition at line 27 of file BeforeRedirectEvent.php.

Constructor & Destructor Documentation

◆ __construct()

TYPO3\CMS\FrontendLogin\Event\BeforeRedirectEvent::__construct ( string  $loginType,
string  $redirectUrl,
  $request 
)

Member Function Documentation

◆ getLoginType()

TYPO3\CMS\FrontendLogin\Event\BeforeRedirectEvent::getLoginType ( )

◆ getRedirectUrl()

TYPO3\CMS\FrontendLogin\Event\BeforeRedirectEvent::getRedirectUrl ( )

◆ getRequest()

TYPO3\CMS\FrontendLogin\Event\BeforeRedirectEvent::getRequest ( )

◆ setRedirectUrl()

TYPO3\CMS\FrontendLogin\Event\BeforeRedirectEvent::setRedirectUrl ( string  $redirectUrl)

Member Data Documentation

◆ $loginType

string TYPO3\CMS\FrontendLogin\Event\BeforeRedirectEvent::$loginType
private

◆ $redirectUrl

◆ $request

ServerRequestInterface TYPO3\CMS\FrontendLogin\Event\BeforeRedirectEvent::$request
private