aboutsummaryrefslogtreecommitdiff
path: root/mod/pages/views/default/river/object/page/create.php
blob: 4c31def33a145ea5c7252d83e4ff9589d0718d57 (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/elements/layout', array(
	'item' => $vars['item'],
	'message' => $excerpt,
));