aboutsummaryrefslogtreecommitdiff
path: root/mod/twitter/start.php
blob: c40f933c7627a97cedf770c314b40c97c249d28b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
<?php
/**
 * Elgg twitter widget
 * This plugin allows users to pull in their twitter feed to display on their profile
 *
 * @package ElggTwitter
 */

register_elgg_event_handler('init', 'system', 'twitter_init');

function twitter_init() {
	elgg_extend_view('css/elgg', 'twitter/css');
	elgg_register_widget_type('twitter', elgg_echo('twitter:title'), elgg_echo('twitter:info'));
}