bundle/Form/Captcha/CaptchaService.php
protected function getConfigForContentType(ContentType $contentType)
    {
        if ($this->hasConfigForContentType($contentType)) {
            return $this->config['override_by_type'][$contentType->identifier];
        }

        return [];
    }
protected function getConfigForContentType(ContentType $contentType)
    {
        if ($this->hasConfigForContentType($contentType)) {
            return $this->config['override_by_type'][$contentType->identifier];
        }

        return [];
    }
protected function getConfigForContentType ( ContentType $ contentType ) { if ( $ this -> hasConfigForContentType ( $ contentType ) ) { return $ this -> config [ 'override_by_type' ] [ $ contentType -> identifier ] ; } return [ ] ; }
Returns filtered config for current ContentType

@param \eZ\Publish\API\Repository\Values\ContentType\ContentType $contentType

@return array
Returns filtered config for current ContentType