public loadContentType ( $contentTypeId ) : |
||
$contentTypeId | ||
return |
public function loadContentType($contentTypeId)
{
$contentType = $this->contentTypeService->loadContentType($contentTypeId);
return new Values\RestContentType($contentType, $contentType->getFieldDefinitions());
}