aboutsummaryrefslogtreecommitdiff
path: root/mod/tagcloud/start.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/tagcloud/start.php')
-rw-r--r--mod/tagcloud/start.php10
1 files changed, 10 insertions, 0 deletions
diff --git a/mod/tagcloud/start.php b/mod/tagcloud/start.php
new file mode 100644
index 000000000..663cec0e6
--- /dev/null
+++ b/mod/tagcloud/start.php
@@ -0,0 +1,10 @@
+<?php
+/**
+ * Tagcloud plugin
+ */
+
+elgg_register_event_handler('init', 'system', 'tagcloud_init');
+
+function tagcloud_init() {
+ elgg_register_widget_type('tagcloud', elgg_echo('tagcloud:widget:title'), elgg_echo('tagcloud:widget:description'));
+}