getHubEntityTypeFromPath

Function

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

Parameters

Parameter Type Default Notes
path Required string

Returns

Property Type Notes

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