Elgg  Version master
Variables
default.php File Reference

Go to the source code of this file.

Variables

 $entity = elgg_extract('entity', $vars)
 Default user HTML view for autocomplete items. More...
 
if(! $entity instanceof \ElggUser$vars ['icon'] = elgg_view_entity_icon($entity, 'tiny', ['use_hover' => false])
 

Variable Documentation

◆ $entity

$entity = elgg_extract('entity', $vars)

Default user HTML view for autocomplete items.

@uses $vars['entity'] the selected entity

Definition at line 8 of file default.php.

◆ $vars

if (! $entity instanceof \ElggUser) $vars[ 'icon'] = elgg_view_entity_icon($entity, 'tiny', ['use_hover' => false])

Definition at line 13 of file default.php.