event_store_event hook

This commit is contained in:
redmatrix
2016-08-14 18:22:18 -07:00
parent 7ae097ef6b
commit 000861da0d
3 changed files with 21 additions and 0 deletions

View File

@@ -0,0 +1,11 @@
[h2]event_store_event[/h2]
Called from event_store_event() when an event record is being stored.
Hook info is an array
'event' => the passed event details, ready for storage
'existing_event' => If the event already exists, a copy of the original event record from the database
'cancel' => false - set to true to cancel the operation.