35 'alt' =>
"{$icon_type}-{$size}",
36 'title' =>
$entity->getDisplayName(),
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(string $view, array $vars=[], string $viewtype= '')
Return a parsed view.
if(!$entity instanceof ElggEntity) $icon_type
elgg_format_element(string $tag_name, array $attributes=[], string $text= '', array $options=[])
Format an HTML element.
if(elgg_extract('show_thumb', $vars,!elgg_extract('cropper_enabled', $vars, true))===false) $entity
Show an example of the current icon.