Frontend | Backend | Api

Hooks\Models\Api\SourceHookBatchEvent

Event triggered when a different hooks triggers this hook through a trigger hook action

Property Description Returns
type Get the type of the event causing the hook execution. Always returns 'hook' for entity events. string
dataDisplay Get a string representation the source hook and action for this batch event string
sourceBatchAction Get the source batch action for this event BatchAction
sourceBatch Get the source batch for this event Batch
sourceHook Get the source hook for this event Hook
sourceAction Get the source action for this event TriggerHookAction
data Get the data passed to this event array
typeDisplay Get a string representation of the batch event based on its type string
id int
created Date the record was created. DateTime
createdBy Get the user that triggered the event User
batch Batch