- Implemented by
- craft\elements\actions\Delete, craft\elements\actions\DeleteUsers
DeleteActionInterface should be implemented by Delete element actions that support hard deletion.
setHardDelete() will only be invoked when viewing soft-deleted elements.
# Public Methods
|canHardDelete()||Returns whether the action is capable of hard-deleting elements.|
|setHardDelete()||Instructs the action that the elements should be hard-deleted.|
Returns whether the action is capable of hard-deleting elements.
Instructs the action that the elements should be hard-deleted.