23 'text' =>
$entity->getDisplayName(),
elgg_view_entity_icon(\ElggEntity $entity, $size= 'medium', $vars=[])
View the icon of an entity.
elgg_view_image_block($image, $body, $vars=[])
Wrapper function for the image block display pattern.
elgg echo
Translates a string.
$entity
Elgg user display.
elgg_extract($key, $array, $default=null, $strict=true)
Checks for $array[$key] and returns its value if it exists, else returns $default.
elgg_view($view, $vars=[], $viewtype= '')
Return a parsed view.
if(!$entity instanceof ElggEntity) $size