public function loadContentTypeDraftFieldDefinitionList($contentTypeId)
    {
        $contentTypeDraft = $this->contentTypeService->loadContentTypeDraft($contentTypeId);

        return new Values\FieldDefinitionList(
            $contentTypeDraft,
            $contentTypeDraft->getFieldDefinitions()
        );
    }
public function loadContentTypeDraftFieldDefinitionList($contentTypeId)
    {
        $contentTypeDraft = $this->contentTypeService->loadContentTypeDraft($contentTypeId);

        return new Values\FieldDefinitionList(
            $contentTypeDraft,
            $contentTypeDraft->getFieldDefinitions()
        );
    }
public function loadContentTypeDraftFieldDefinitionList ( $ contentTypeId ) { $ contentTypeDraft = $ this -> contentTypeService -> loadContentTypeDraft ( $ contentTypeId ) ; return new Values \ FieldDefinitionList ( $ contentTypeDraft , $ contentTypeDraft -> getFieldDefinitions ( ) ) ; }
Loads field definitions for a given content type draft.

@param $contentTypeId

@return \eZ\Publish\Core\REST\Server\Values\FieldDefinitionList
Loads field definitions for a given content type draft .