getPathForHubEntityType

Function

Given a HubEntityType, return the path segment for that type. e.g. "site" -> "sites", "page" -> "pages", "content" -> "content"

Parameters

Parameter Type Default Notes
type Required HubEntityType

Returns

string

Function defined in common/src/core/parseContainmentPath.ts:27