Elgg  Version master
Variables
default.php File Reference

Go to the source code of this file.

Variables

 $entity = elgg_extract('entity', $vars)
 Ultimate fallback view for an entity in the trash. More...
 
if(!$entity instanceof\ElggEntity) $summary = ''
 
 $params = (array) elgg_extract('image_block_vars', $vars, [])
 
 $class = elgg_extract_class($params)
 
 $params ['class'] = $class
 
 $params ['data-guid'] = $entity->guid
 

Variable Documentation

$class = elgg_extract_class($params)

Definition at line 25 of file default.php.

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

Ultimate fallback view for an entity in the trash.

$vars['entity'] The entity to show $vars['title'] Title link (optional) false = no title, '' = default $vars['metadata'] HTML for entity menu and metadata (optional) $vars['subtitle'] HTML for the subtitle (optional) $vars['class'] Class selector for the image block $vars['image_block_vars'] Attributes for the image block wrapper

Definition at line 12 of file default.php.

$params = (array) elgg_extract('image_block_vars', $vars, [])

Definition at line 24 of file default.php.

$params['class'] = $class

Definition at line 27 of file default.php.

$params['data-guid'] = $entity->guid

Definition at line 28 of file default.php.

$summary = ''

Definition at line 18 of file default.php.