Skip to main content

Module hook_runner

Module hook_runner 

Source
Expand description

Hook execution for lifecycle events.

This module provides functions to run lifecycle hooks defined in type definitions.

Structs§

HookResult
Result of running a hook that may modify the note.

Functions§

run_on_create_hook
Run the on_create hook for a type definition.
run_on_update_hook
Run the on_update hook for a type definition.

Type Aliases§

UpdateHookResult
Alias for backwards compatibility.