You are here

public function MatomoReportsController::__construct in Matomo Reports 8

Constructs a MatomoReportsController object.

Parameters

\Drupal\Core\Form\FormBuilderInterface $form_builder: The form builder service.

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

File

src/Controller/MatomoReportsController.php, line 49

Class

MatomoReportsController
Class MatomoReportsController.

Namespace

Drupal\matomo_reports\Controller

Code

public function __construct(FormBuilderInterface $form_builder, MessengerInterface $messenger) {
  $this->formBuilder = $form_builder;
  $this->messenger = $messenger;
}