add event entity to formbuilder
authorKurund Jalmi <kurundjalmi@thirdsectordesign.org>
Thu, 17 Nov 2022 15:31:07 +0000 (15:31 +0000)
committerKurund Jalmi <kurundjalmi@thirdsectordesign.org>
Thu, 17 Nov 2022 15:31:07 +0000 (15:31 +0000)
ext/afform/admin/afformEntities/Event.php [new file with mode: 0644]

diff --git a/ext/afform/admin/afformEntities/Event.php b/ext/afform/admin/afformEntities/Event.php
new file mode 100644 (file)
index 0000000..193e0e4
--- /dev/null
@@ -0,0 +1,8 @@
+<?php
+return [
+  'type' => 'primary',
+  'defaults' => "{
+    actions: {create: true, update: false}
+  }",
+  'boilerplate' => [],
+];