public function loadContentTypeFieldDefinitionList($contentTypeId)
    {
        $contentType = $this->contentTypeService->loadContentType($contentTypeId, Language::ALL);

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

        return new Values\FieldDefinitionList(
            $contentType,
            $contentType->getFieldDefinitions()
        );
    }
public function loadContentTypeFieldDefinitionList ( $ contentTypeId ) { $ contentType = $ this -> contentTypeService -> loadContentType ( $ contentTypeId , Language :: ALL ) ; return new Values \ FieldDefinitionList ( $ contentType , $ contentType -> getFieldDefinitions ( ) ) ; }
Loads field definitions for a given content type.

@param $contentTypeId

@return \eZ\Publish\Core\REST\Server\Values\FieldDefinitionList

@todo Check why this isn't in the specs
Loads field definitions for a given content type .