Skip to content

getCollectionPathsCombinations

@firecms/core


@firecms/core / getCollectionPathsCombinations

Function: getCollectionPathsCombinations()

Section titled “Function: getCollectionPathsCombinations()”

getCollectionPathsCombinations(subpaths): string[]

Defined in: util/navigation_utils.ts:162

Get the subcollection combinations from a path: “sites/es/locales” => [“sites/es/locales”, “sites”]

string[]

string[]