public function contentfulContentTypeName(string $contentTypeId): string
    {
        $contentType = $this->contentful->getContentType($contentTypeId);
        if (!$contentType instanceof ContentType) {
            return '';
        }

        return $contentType->getName();
    }
public function contentfulContentTypeName(string $contentTypeId): string
    {
        $contentType = $this->contentful->getContentType($contentTypeId);
        if (!$contentType instanceof ContentType) {
            return '';
        }

        return $contentType->getName();
    }
public function contentfulContentTypeName ( string $ contentTypeId ) : string { $ contentType = $ this -> contentful -> getContentType ( $ contentTypeId ) ; if ( ! $ contentType instanceof ContentType ) { return '' ; } return $ contentType -> getName ( ) ; }
Returns the Contentful content type name.
Returns the Contentful content type name .