Documentation

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

setUseTrash()

public setUseTrash([bool $useTrash = ]) : $this

Pass FALSE to force delete and bypass trash

Parameters
$useTrash : bool =
Return values
$this

        
On this page

Search results