You are here

public function ReportsForm::__construct in Matomo Reports 8

Constructs a new ReportsForm object.

Parameters

\Drupal\user\UserDataInterface $user_data: The user data service.

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

\Drupal\Core\Config\ConfigFactoryInterface $configFactory: The config factory.

File

src/Form/ReportsForm.php, line 48

Class

ReportsForm
Class ReportsForm.

Namespace

Drupal\matomo_reports\Form

Code

public function __construct(UserDataInterface $user_data, MessengerInterface $messenger, ConfigFactoryInterface $configFactory) {
  $this->userData = $user_data;
  $this->messenger = $messenger;
  $this->configFactory = $configFactory;
}