Skip to main content

add_definition

Method
This is a method of the HookRegistry class in the hooks module.
Add a hook definition

Signature

def add_definition(&mut self, hook: HookDefinition) -> &mut Self

Parameters

hook
HookDefinition
required
No description available.

Returns

Returns
&mut Self
The result of the operation.