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

        return false;
    }
protected function hasConfigForContentType(ContentType $contentType)
    {
        if (!empty($this->config['override_by_type'])) {
            if (in_array($contentType->identifier, array_keys($this->config['override_by_type']))) {
                return true;
            }
        }

        return false;
    }
protected function hasConfigForContentType ( ContentType $ contentType ) { if ( ! empty ( $ this -> config [ 'override_by_type' ] ) ) { if ( in_array ( $ contentType -> identifier , array_keys ( $ this -> config [ 'override_by_type' ] ) ) ) { return true ; } } return false ; }
Checks if override exist for given ContentType

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

@return bool
Checks if override exist for given ContentType