aboutsummaryrefslogtreecommitdiff
path: root/documentation/examples/events/basic.php
blob: 91704e60b9b7f3904bc739bad0df77d870302daf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
<?php

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

function example_event_handler($event, $type, $params) {
	var_dump($event);
	var_dump($object_type);
	var_dump($params);

	return true;
}