public loadContentTypeDraft ( $contentTypeId ) : |
||
$contentTypeId | ||
Результат |
public function loadContentTypeDraft($contentTypeId)
{
$contentTypeDraft = $this->contentTypeService->loadContentTypeDraft($contentTypeId);
return new Values\RestContentType($contentTypeDraft, $contentTypeDraft->getFieldDefinitions());
}