Skip to content

resolveNavigationFrom

@firecms/core


@firecms/core / resolveNavigationFrom

resolveNavigationFrom<M, USER>(path): Promise<ResolvedNavigationEntry<M>[]>

Defined in: hooks/useResolvedNavigationFrom.tsx:58

Use this function to retrieve an array of navigation entries (resolved collection, entity or entity custom_view) for the given path. You need to pass the app context that you receive in different callbacks, such as the save hooks.

It will take into account the navigation provided at the FireCMS level.

M extends Record<string, any>

USER extends User

FireCMSContext<USER>

string

Promise<ResolvedNavigationEntry<M>[]>