Skip to main content

register

Method
This is a method of the HookRegistry class in the registry module.
Register a hook definition.

Signature

def register(hook: HookDefinition) -> str

Parameters

hook
HookDefinition
required
The hook definition to register

Returns

Returns
str
The hook ID