Elgg  Version master
Variables
default.php File Reference

Go to the source code of this file.

Variables

 $entity = elgg_extract('entity', $vars)
 Default object HTML view for autocomplete items. More...
 
if(! $entity instanceof \ElggObject$vars ['icon'] = $entity->hasIcon('tiny') ? elgg_view_entity_icon($entity, 'tiny') : ''
 

Variable Documentation

◆ $entity

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

Default object HTML view for autocomplete items.

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

Definition at line 8 of file default.php.

◆ $vars

if (! $entity instanceof \ElggObject) $vars[ 'icon'] = $entity->hasIcon('tiny') ? elgg_view_entity_icon($entity, 'tiny') : ''

Definition at line 13 of file default.php.