aboutsummaryrefslogtreecommitdiff
path: root/mod/twitter/start.php
blob: 85dde75bdecebfe0a2336dd2a6eea7e01386fef4 (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/screen', 'twitter/css');
	add_widget_type('twitter', elgg_echo('twitter:title'), elgg_echo('twitter:info'));
}