aboutsummaryrefslogtreecommitdiff
path: root/mod/pages/views/default/river/object/page/create.php
blob: ca15ddea721f564357213840d7b1ac3488ee2fa7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
<?php
/**
 * Page river view.
 */

$object = $vars['item']->getObjectEntity();
$excerpt = strip_tags($object->description);
$excerpt = elgg_get_excerpt($excerpt);

echo elgg_view('river/item', array(
	'item' => $vars['item'],
	'message' => $excerpt,
));