Classes/Fusion/WireframeContentImplementation.php
public function evaluate()
    {

        $httpRequest = Request::createFromEnvironment();

        /** @var UserInterfaceMode $mode */
        $mode = $this->interfaceRenderModeService->findModeByCurrentUser();

        /** @var integer $renderMode */
        $renderMode = 0;

        switch (true) {
            case $mode->getName() === 'wireframe' || $httpRequest->getArgument('wireframeMode') == '1' :
                $renderMode = 1;
                break;
            case $httpRequest->getArgument('wireframeMode') == '2' :
                $renderMode = 2;
                break;
        }

        return $renderMode;
    }
public function evaluate()
    {

        $httpRequest = Request::createFromEnvironment();

        /** @var UserInterfaceMode $mode */
        $mode = $this->interfaceRenderModeService->findModeByCurrentUser();

        /** @var integer $renderMode */
        $renderMode = 0;

        switch (true) {
            case $mode->getName() === 'wireframe' || $httpRequest->getArgument('wireframeMode') == '1' :
                $renderMode = 1;
                break;
            case $httpRequest->getArgument('wireframeMode') == '2' :
                $renderMode = 2;
                break;
        }

        return $renderMode;
    }
public function evaluate ( ) { $ httpRequest = Request :: createFromEnvironment ( ) ; /** @var UserInterfaceMode $mode */ $ mode = $ this -> interfaceRenderModeService -> findModeByCurrentUser ( ) ; /** @var integer $renderMode */ $ renderMode = 0 ; switch ( true ) { case $ mode -> getName ( ) === 'wireframe' || $ httpRequest -> getArgument ( 'wireframeMode' ) == '1' : $ renderMode = 1 ; break ; case $ httpRequest -> getArgument ( 'wireframeMode' ) == '2' : $ renderMode = 2 ; break ; } return $ renderMode ; }
Evaluate wireframe rendering mode

@return integer
Evaluate wireframe rendering mode