aboutsummaryrefslogtreecommitdiffstats
path: root/doc/hook/event_store_event.bb
diff options
context:
space:
mode:
authorredmatrix <git@macgirvin.com>2016-08-14 18:22:18 -0700
committerredmatrix <git@macgirvin.com>2016-08-14 18:22:18 -0700
commit000861da0dd68a94d67da15301eab7fd2df3cc1a (patch)
tree44543e0966ae8e6af375408009dcbad0f56ac793 /doc/hook/event_store_event.bb
parent7ae097ef6b59083db9fe9134d10815a2b329b542 (diff)
downloadvolse-hubzilla-000861da0dd68a94d67da15301eab7fd2df3cc1a.tar.gz
volse-hubzilla-000861da0dd68a94d67da15301eab7fd2df3cc1a.tar.bz2
volse-hubzilla-000861da0dd68a94d67da15301eab7fd2df3cc1a.zip
event_store_event hook
Diffstat (limited to 'doc/hook/event_store_event.bb')
-rw-r--r--doc/hook/event_store_event.bb11
1 files changed, 11 insertions, 0 deletions
diff --git a/doc/hook/event_store_event.bb b/doc/hook/event_store_event.bb
new file mode 100644
index 000000000..7015a8322
--- /dev/null
+++ b/doc/hook/event_store_event.bb
@@ -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.
+
+