tridion-sites-extensions-api-docs

Home > @tridion-sites/extensions > OptionalStructureGroupEditorHook

OptionalStructureGroupEditorHook type

Hook for accessing Structure Group Editor data when available.

Signature:

export type OptionalStructureGroupEditorHook = () => StructureGroupEditorHookResult | undefined;

References: StructureGroupEditorHookResult

Remarks

Safe to be used within or outside of the Structure Group Editor. undefined is returned when used outside of Structure Group Editor.