* @since 3.0.0 */ class ElementActionEvent extends CancelableEvent { /** * @var ElementActionInterface The element action associated with the event */ public ElementActionInterface $action; /** * @var ElementQueryInterface The element query associated with the event */ public ElementQueryInterface $criteria; /** * @var string|null The message that should be displayed in the control panel if [[$isValid]] is false */ public ?string $message = null; }