aboutsummaryrefslogtreecommitdiff
path: root/mod/tagcloud/views/default/widgets/tagcloud/content.php
blob: af1d6a5f650df66dbd846d02d027ffa6a6d300a2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<?php
/**
 * Tag cloud widget
 */

$num_items = $vars['entity']->num_items;

elgg_push_context('tags');
$options = array(
	'owner_guid' => elgg_get_page_owner_guid(),
	'threshold' => 1,
	'limit' => $num_items,
	'tag_name' => 'tags',
);
echo elgg_view_tagcloud($options);
elgg_pop_context();