tridion-sites-extensions-api-docs

Home > @tridion-sites/extensions > OptionalContentExplorerTreeHook

OptionalContentExplorerTreeHook type

Hook for accessing Content Explorer Tree data and methods when available.

Signature:

export type OptionalContentExplorerTreeHook = () => ContentExplorerTreeHookResult | undefined;

References: ContentExplorerTreeHookResult

Remarks

Safe to be used within or outside of the Content Explorer Tree. undefined is returned when used outside of the Content Explorer Tree.