Skip to main content
Version: 3.0.0-beta

Function: resolveNavigationFrom()

resolveNavigationFrom<M, UserType>(__namedParameters): Promise<ResolvedNavigationEntry<M>[]>

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​

• M extends Record<string, any>

• UserType extends User

Parameters​

• __namedParameters

• __namedParameters.context: FireCMSContext<UserType>

• __namedParameters.path: string

Returns​

Promise<ResolvedNavigationEntry<M>[]>

Defined in​

packages/firecms_core/src/hooks/useResolvedNavigationFrom.tsx:58

Sign up to our newsletter to get the latest news and updates. No spam!