Home > @tridion-sites/extensions > useOptionalContentExplorerTree
Hook for accessing Content Explorer Tree data and methods, if available.
Signature:
useOptionalContentExplorerTree: OptionalContentExplorerTreeHook;
Safe to be used within or outside of the Content Explorer Tree. undefined
is returned when used outside of Content Explorer Tree.