Elgg  Version 3.0
Go to the documentation of this file.
1 <?php
12 if (!$item instanceof ElggEntity) {
13  return;
14 }
16 $size = elgg_extract('size', $vars, 'small');
if(!$item instanceof ElggEntity) $size
Definition: icon.php:16
Definition: icon.php:14
Render an icon.
Definition: icon.php:11
elgg_view_entity_icon(\ElggEntity $entity, $size= 'medium', $vars=[])
View the icon of an entity.
Definition: views.php:899
elgg echo
Translates a string.
Definition: languages.js:43
elgg_extract($key, $array, $default=null, $strict=true)
Checks for $array[$key] and returns its value if it exists, else returns $default.
Definition: elgglib.php:1131