aboutsummaryrefslogtreecommitdiff
path: root/views/default/river/object/event_calendar/create.php
blob: 51538941183c73e5cdc09f9d45c97a04f291ce4e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
<?php
/**
 * Event river view.
 */

elgg_load_library('elgg:event_calendar');

$object = $vars['item']->getObjectEntity();

echo elgg_view('river/elements/layout', array(
	'item' => $vars['item'],
	'message' => event_calendar_get_formatted_time($object),
));