Home > @tridion-sites/extensions > OptionalStructureGroupEditorHook
Hook for accessing Structure Group Editor data when available.
Signature:
export type OptionalStructureGroupEditorHook = () => StructureGroupEditorHookResult | undefined;
References: StructureGroupEditorHookResult
Safe to be used within or outside of the Structure Group Editor. undefined
is returned when used outside of Structure Group Editor.