You are here

public function PiwikReportsController::__construct in Piwik Reports 8

Constructs a PiwikReportsController object.

Parameters

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

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

File

src/Controller/PiwikReportsController.php, line 54
Contains \Drupal\piwik_reports\Controller\PiwikReportsController.

Class

PiwikReportsController
Class PiwikReportsController.

Namespace

Drupal\piwik_reports\Controller

Code

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