DocumentationAmertaPayloadUtilitiesGetURLFunctions
Get Link Url
amerta / amerta/payload/utilities/getURL / getLinkUrl
Function: getLinkUrl()
getLinkUrl(
link):string
Defined in: amerta/payload/utilities/getURL.ts:27
Parameters
| Parameter | Type |
| ------ | ------ |
| link | { locale?: string | null; reference?: LinkReference; type?: "custom" | "reference" | null; url?: string | null; } |
| link.locale? | string | null |
| link.reference? | LinkReference |
| link.type? | "custom" | "reference" | null |
| link.url? | string | null |
Returns
string