35 'alt' =>
"{$icon_type}-{$size}",
36 'title' =>
$entity->getDisplayName(),
elgg_format_element($tag_name, array $attributes=[], $text= '', array $options=[])
Format an HTML element.
elgg_extract($key, $array, $default=null, $strict=true)
Checks for $array[$key] and returns its value if it exists, else returns $default.
if(elgg_extract('show_thumb', $vars,!elgg_extract('cropper_enabled', $vars, false))===false) $entity
Show an example of the current icon.
if(!$entity instanceof ElggEntity) $icon_type
elgg echo
Translates a string.
elgg_view($view, $vars=[], $viewtype= '')
Return a parsed view.