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