Elgg  Version master
Variables
entity.php File Reference

Go to the source code of this file.

Variables

 $entity = elgg_extract('entity', $vars)
 Entity view of an item in the trash. More...
 
if(! $entity instanceof \ElggEntity$views
 

Variable Documentation

◆ $entity

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

Entity view of an item in the trash.

@uses $vars['entity'] the entity

Definition at line 8 of file entity.php.

◆ $views

if (! $entity instanceof \ElggEntity) $views
Initial value:
= [
"trash/{$entity->getType()}/{$entity->getSubtype()}",
"trash/{$entity->getType()}/default",
'trash/entity/default',
]

Definition at line 13 of file entity.php.