convertPageToTemplate

Function

Given a Page Model, return a template object

Parameters

Parameter Type Default Notes
model Required IModel

The Page item model to convert into a template

hubRequestOptions Required IHubRequestOptions

IRequestOptions object, with isPortal, and portalSelf

Returns

any

Function defined in sites/src/pages/convert-page-to-template.ts:23