GcConfig\Controller\UserController::forbiddenAction PHP Method

forbiddenAction() public method

This action is used when user has no access to display one page
public forbiddenAction ( ) : Zend\View\Model\ViewModel | array
return Zend\View\Model\ViewModel | array
    public function forbiddenAction()
    {
        $this->getResponse()->setStatusCode(403);
        $this->getResponse()->isForbidden(true);
        $this->layout()->setVariable('module', null);
    }