ensurePageHasSiteEntry

Function

To account for complexities in the Solution generation process we need to ensure that the site is linked to the Page before we throw this all through the unlink/delete process

  • ensurePageHasSiteEntry(siteModel: IModel, pageModel: IModel) : any

Parameters

Parameter Type Default Notes
siteModel Required IModel

Site Model

pageModel Required IModel

Page Model

Returns

any

Function defined in sites/src/pages/ensure-page-has-site-entry.ts:10