You are here

public function ModalForm::__construct in Editor Notes 8

Form constructor.

Parameters

\Drupal\Core\Messenger\MessengerInterface $messenger: The messenger.

\Drupal\editor_note\EditorNoteHelperService $editorNoteHelper: Editor note helpers.

File

src/Form/ModalForm.php, line 53

Class

ModalForm
Implements the ModalForm form controller.

Namespace

Drupal\editor_note\Form

Code

public function __construct(MessengerInterface $messenger, EditorNoteHelperService $editorNoteHelper) {
  $this->messenger = $messenger;
  $this->editorNoteHelper = $editorNoteHelper;
}