resolveNavigationFrom
@firecms/core / resolveNavigationFrom
Function: resolveNavigationFrom()
Section titled “Function: 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.
Type Parameters
Section titled “Type Parameters”M extends Record<string, any>
USER extends User
Parameters
Section titled “Parameters”context
Section titled “context”FireCMSContext<USER>
string
Returns
Section titled “Returns”Promise<ResolvedNavigationEntry<M>[]>