Skip to main content

payload_kind_for_hook

Function payload_kind_for_hook 

Source
pub fn payload_kind_for_hook(hook_name: &str) -> PayloadKind
Expand description

Resolve a hook name to its payload kind.

Exact match against the hook table. A name the table does not hold, including a custom cmf.-prefixed one, gets the generic payload.