src/Sulu/Bundle/SecurityBundle/Controller/RoleSettingController.php
public function getAction($roleId, $key)
    {
        $settingValue = $this->get('sulu.repository.role_setting')->findSettingValue($roleId, $key);

        return $this->handleView($this->view($settingValue));
    }
public function getAction($roleId, $key)
    {
        $settingValue = $this->get('sulu.repository.role_setting')->findSettingValue($roleId, $key);

        return $this->handleView($this->view($settingValue));
    }
public function getAction ( $ roleId , $ key ) { $ settingValue = $ this -> get ( 'sulu.repository.role_setting' ) -> findSettingValue ( $ roleId , $ key ) ; return $ this -> handleView ( $ this -> view ( $ settingValue ) ) ; }
Returns value for given role-setting.

@param int $roleId
@param string $key

@return Response
Returns value for given role - setting .