diff options
Diffstat (limited to 'views/default/favorites/view.php')
-rw-r--r-- | views/default/favorites/view.php | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/views/default/favorites/view.php b/views/default/favorites/view.php new file mode 100644 index 000000000..53e322f39 --- /dev/null +++ b/views/default/favorites/view.php @@ -0,0 +1,15 @@ +<?php + +if (!elgg_is_logged_in()) { + return; +} + +$fav_options = array( + 'type' => 'object', + 'relationship_guid' => elgg_get_logged_in_user_guid(), + 'relationship' => 'flags_content', + 'full_view' => FALSE, + 'view_type_toggle' => FALSE, +); + +echo elgg_list_entities_from_relationship($fav_options); |