getRelativeWorkspaceUrl

Function

From within the context of a hub site, the following util returns an entity's relative workspace URL

From within the context of a hub site, the following util returns an entity's relative workspace URL

  • getRelativeWorkspaceUrl(type: string, identifier: string, pane: string) : string

Parameters

Parameter Type Default Notes
type Required string

item type

identifier Required string

entity id or slug

pane Optional string

Returns

string

Function defined in common/src/core/getRelativeWorkspaceUrl.ts:12