ModalTrait
Requires in the host class: `$this->modalRegistry`, `$this->eventDispatcher`, `$this->translator`, `$this->translatorDomain`, `getModalTarget()`.
Table of Contents
Methods
- handleShowForgotPasswordModal() : void
- updateModalContent() : void
- createFormContent() : string
- createModalEvent() : ModalWindowEvent
- createSentContent() : string
Methods
handleShowForgotPasswordModal()
public
handleShowForgotPasswordModal() : void
updateModalContent()
protected
updateModalContent(string $content) : void
Parameters
- $content : string
createFormContent()
private
createFormContent() : string
Return values
stringcreateModalEvent()
private
createModalEvent(string $content[, array<string, mixed> $extraOptions = [] ]) : ModalWindowEvent
Parameters
- $content : string
- $extraOptions : array<string, mixed> = []
Return values
ModalWindowEventcreateSentContent()
private
createSentContent() : string