Go to the source code of this file.
◆ $container
$container = $entity->getContainerEntity() |
◆ $display_name
if (! $entity instanceof \ElggEntity) if (! $entity->canDelete()||! $entity->hasCapability( 'restorable')||$entity instanceof \ElggPlugin||$entity instanceof \ElggSite||$entity instanceof \ElggUser) $display_name = $entity->getDisplayName() ?: elgg_echo('entity:delete:item') |
◆ $entity
◆ $forward_url
if (! $entity->delete(true, false)) $forward_url = get_input('forward_url') |
◆ $guid
Default entity trash action.
Definition at line 6 of file trash.php.
◆ $message
◆ $subtype
$subtype = $entity->getSubtype() |
◆ $success_keys
if (!empty( $forward_url)) if (empty( $forward_url)) $success_keys |
Initial value:= [
"entity:delete:{$type}:{$subtype}:success",
"entity:delete:{$type}:success",
'entity:delete:success',
]
Definition at line 78 of file trash.php.
◆ $type
$type = $entity->getType() |