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