aboutsummaryrefslogtreecommitdiff
path: root/mod/basic_theme/start.php
blob: c14609b21c68b57218ef1dddbb72d30658cfed78 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
<?php

elgg_register_event_handler('init', 'system', 'basic_theme_init');

function basic_theme_init() {
	// Override Elgg logo item
	elgg_register_menu_item('topbar', array(
		'name' => 'elgg_logo',
		'text' => elgg_get_site_entity()->name,
		'href' => elgg_get_site_url(),
		'priority' => 0,
	));
	
}