Neos.Neos/Classes/Service/BackendRedirectionService.php
public function getAfterLogoutRedirectionUri(ActionRequest $actionRequest)
    {
        $lastVisitedNode = $this->getLastVisitedNode('live');
        if ($lastVisitedNode === null) {
            return null;
        }
        $uriBuilder = new UriBuilder();
        $uriBuilder->setRequest($actionRequest);
        $uriBuilder->setFormat('html');
        $uriBuilder->setCreateAbsoluteUri(true);
        return $uriBuilder->uriFor('show', ['node' => $lastVisitedNode], 'Frontend\\Node', 'Neos.Neos');
    }
public function getAfterLogoutRedirectionUri(ActionRequest $actionRequest)
    {
        $lastVisitedNode = $this->getLastVisitedNode('live');
        if ($lastVisitedNode === null) {
            return null;
        }
        $uriBuilder = new UriBuilder();
        $uriBuilder->setRequest($actionRequest);
        $uriBuilder->setFormat('html');
        $uriBuilder->setCreateAbsoluteUri(true);
        return $uriBuilder->uriFor('show', ['node' => $lastVisitedNode], 'Frontend\\Node', 'Neos.Neos');
    }
public function getAfterLogoutRedirectionUri ( ActionRequest $ actionRequest ) { $ lastVisitedNode = $ this -> getLastVisitedNode ( 'live' ) ; if ( $ lastVisitedNode === null ) { return null ; } $ uriBuilder = new UriBuilder ( ) ; $ uriBuilder -> setRequest ( $ actionRequest ) ; $ uriBuilder -> setFormat ( 'html' ) ; $ uriBuilder -> setCreateAbsoluteUri ( true ) ; return $ uriBuilder -> uriFor ( 'show' , [ 'node' => $ lastVisitedNode ] , 'Frontend\\Node' , 'Neos.Neos' ) ; }
Returns a specific URI string to redirect to after the logout; or NULL if there is none.
In case of NULL, it's the responsibility of the AuthenticationController where to redirect,
most likely to the LoginController's index action.

@param ActionRequest $actionRequest
@return string A possible redirection URI, if any
Returns a specific URI string to redirect to after the logout ; or NULL if there is none . In case of NULL it s the responsibility of the AuthenticationController where to redirect most likely to the LoginController s index action .