aboutsummaryrefslogtreecommitdiff
path: root/mod/widgettest/start.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/widgettest/start.php')
-rw-r--r--mod/widgettest/start.php13
1 files changed, 13 insertions, 0 deletions
diff --git a/mod/widgettest/start.php b/mod/widgettest/start.php
new file mode 100644
index 000000000..b02423b66
--- /dev/null
+++ b/mod/widgettest/start.php
@@ -0,0 +1,13 @@
+<?php
+
+ // TEMPORARY!
+
+ function widgettest_init() {
+
+ add_widget_type('widgettest',"Test widget!","This is a test widget.");
+
+ }
+
+ register_elgg_event_handler('init','system','widgettest_init');
+
+?> \ No newline at end of file