ModalTrait.php Table of Contents Traits ModalTraitRequires in the host class: - $this->modalRegistry (ModalRegistry) - $this->eventDispatcher (EventDispatcher) - $this->translator - $this->translatorDomain - getModalTarget(): string