SoftDeleteActionTrait
This trait is used by delete actions with a "move to trash" option.
Table of Contents
Properties
- $useTrash : bool
- Should $ENTITY be moved to the trash instead of permanently deleted?
Methods
- getUseTrash() : bool
- setUseTrash() : $this
Properties
$useTrash
Should $ENTITY be moved to the trash instead of permanently deleted?
protected
bool
$useTrash
= TRUE
Methods
getUseTrash()
public
getUseTrash() : bool
Return values
boolsetUseTrash()
public
setUseTrash([bool $useTrash = ]) : $this
Pass FALSE to force delete and bypass trash
Parameters
- $useTrash : bool =