createPageModelFromTemplate
Given a template, settings and transformation hashes, construct the new Page model. Altough this is async, it does not persist the page
Parameters
Parameter | Type | Default | Notes |
---|---|---|---|
template Required | IModelTemplate |
Json Template of the Page |
|
settings Required | any |
Hash of values to use in the interpolation |
|
transforms Required | any |
Hash of transrormation functions available during interpolation |
|
hubRequestOptions Required | IHubRequestOptions |
Returns
Function defined in sites/src/pages/create-page-model-from-template.ts:20