13 if (
$icon ===
false) {
if(! $annotation instanceof ElggAnnotation) $owner
if($icon===false) if($icon !=='') $icon_size
if($icon_entity instanceof ElggEntity) $annotation
getOwnerEntity()
Gets the \ElggEntity that owns this entity.
elgg_extract($key, $array, $default=null, bool $strict=true)
Checks for $array[$key] and returns its value if it exists, else returns $default.
elgg_view_entity_icon(\ElggEntity $entity, string $size='medium', array $vars=[])
View the icon of an entity.
$vars['class']
Display an icon from the FontAwesome library.