getPageEditUrl

Function

Get the correct url used to edit the page

  • getPageEditUrl(item: IItem, isPortal: boolean, siteUrl: string) : string

Parameters

Parameter Type Default Notes
item Required IItem

the page item

isPortal Required boolean

from appSettings.isPortal

siteUrl Required string

the url of the parent site

Returns

string

Function defined in packages/sites/src/pages/get-page-edit-url.ts:9