Frontend | Backend | Api

Hooks\Models\Api\EntityEvent

This class is used to store information about which entity changes trigger a hook

Property Description Returns
targetingDeletedRecord Checks whether the entity event is targeting a deleted record bool
targetRecordEntity Return target entity class name for record selection. In some cases this is different from the entity triggering the event. E.g. hooks targeting Form submissions must use Form records. TODO: This is a hotfix and needs to be implemented properly string
id int
entity string
recordId int
method string
properties string
created Date the record was created. DateTime
modified Last modification date for the record. DateTime
hook Hook