aboutsummaryrefslogtreecommitdiff
path: root/mod/twitter/start.php
blob: b793eadf0dc3a7f02beeecbc4b3288846f9cb404 (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
 */

elgg_register_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'));
}