ModelHooks module
EntityEvent
This class is used to store information about which entity changes trigger a hook
A model in the Hooks module, with 15 members for templates, 12 API properties and 16 members for admin templates.
Templates view
Properties 15
Take no arguments.
-
#
isSupportingParentRecord() -
bool - Determines whether a parent record can be specified for the entity event
-
#
getId() -
?int -
#
getEntity() -
?string -
#
getRecordId() -
?int -
#
getParentRecordId() -
?int -
#
getMethod() -
?string -
#
getProperties() -
?string -
#
isHierarchicalModel()Not in API & Jobs -
bool - Check whether a model is a hierarchical model, i.e. can have children
No members match the filter.
API & Jobs view
API & JobsEach property is a key in REST API responses and job payloads. Its name is the template getter without get, is or has. Methods that need arguments are not available here.
Properties 12
Read-only values on the record.
No members match the filter.
Admin view
AdminAvailable in cdna-admin templates. Copy an admin template into your site repository to change how this record is edited.
Properties 16
Take no arguments.
-
#
isSupportingParentRecord() -
bool - Determines whether a parent record can be specified for the entity event
-
#
getId() -
?int -
#
getEntity() -
?string -
#
getRecordId() -
?int -
#
getParentRecordId() -
?int -
#
getMethod() -
?string -
#
getProperties() -
?string -
#
isHierarchicalModel()Not in API & Jobs -
bool - Check whether a model is a hierarchical model, i.e. can have children
No members match the filter.