mirror of
https://github.com/zhigang1992/firecms.git
synced 2026-06-15 10:07:45 +08:00
980 B
980 B
id, title, sidebar_label, sidebar_position, custom_edit_url
| id | title | sidebar_label | sidebar_position | custom_edit_url |
|---|---|---|---|---|
| getnavigationfrom | Function: getNavigationFrom | getNavigationFrom | 0 | null |
▸ getNavigationFrom(__namedParameters): Promise<NavigationEntry[]>
Use this function to retrieve an array of navigation entries (resolved collection or entity) 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 CMSApp level, as
well as a schemaResolver if provided.
Parameters
| Name | Type |
|---|---|
__namedParameters |
Object |
__namedParameters.context |
CMSAppContext |
__namedParameters.path |
string |
Returns
Promise<NavigationEntry[]>