Neos\Neos\Ui\Aspects\FlowpackFrontendLoginCompatibilityAspect::enhanceMatchRequest PHP Method

enhanceMatchRequest() public method

public enhanceMatchRequest ( TYPO3\FLOW\AOP\JoinPointInterface $joinPoint ) : boolean
$joinPoint TYPO3\FLOW\AOP\JoinPointInterface
return boolean
    public function enhanceMatchRequest(JoinPointInterface $joinPoint)
    {
        $request = $joinPoint->getMethodArgument('request');
        $requestPath = $request->getHttpRequest()->getUri()->getPath();
        if ($joinPoint->getProxy()->getPattern() === NeosRequestPattern::PATTERN_BACKEND) {
            if (strpos($requestPath, '/neos!') === 0) {
                return true;
            }
        }
        return $joinPoint->getAdviceChain()->proceed($joinPoint);
    }
FlowpackFrontendLoginCompatibilityAspect