BeforeFormIsDeletedEvent implements StoppableEventInterface
FinalYes
Listeners to this Event will be able to: - Get the form persistence identifier before a form is deleted - Stop the deletion process by setting preventDeletion to true - Add custom logic, e.g. cleanup tasks, before deletion
Table of Contents
Interfaces
- StoppableEventInterface
Properties
- $formPersistenceIdentifier : string
- $preventDeletion : bool
Methods
- __construct() : mixed
- isPropagationStopped() : bool
Properties
$formPersistenceIdentifier read-only
public
string
$formPersistenceIdentifier
$preventDeletion
public
bool
$preventDeletion
= false
Methods
__construct()
public
__construct(string $formPersistenceIdentifier[, bool $preventDeletion = false ]) : mixed
Parameters
- $formPersistenceIdentifier : string
- $preventDeletion : bool = false
isPropagationStopped()
public
isPropagationStopped() : bool