markUnpublished

Function

Returns a copy of the model marked as having unpublished changes

  • markUnpublished(siteOrPageModel: IModel) : any

Parameters

Parameter Type Default Notes
siteOrPageModel Required IModel

Returns

any

Function defined in sites/src/drafts/mark-unpublished.ts:9