blob: 0408d79e1accfa67b8eff02146901a9b0a07bb2e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
<?php
/**
* Create friend river view
*/
$subject = $vars['item']->getSubjectEntity();
$object = $vars['item']->getObjectEntity();
$subject_icon = elgg_view_entity_icon($subject, 'tiny');
$object_icon = elgg_view_entity_icon($object, 'tiny');
echo elgg_view('river/elements/layout', array(
'item' => $vars['item'],
'attachments' => $subject_icon . elgg_view_icon('arrow-right') . $object_icon,
));
|