public function ReportsForm::__construct in Piwik Reports 8
Constructs a new ReportsForm object.
Parameters
\Drupal\user\UserDataInterface $user_data: The user data service.
\Drupal\Core\Messenger\MessengerInterface $messenger: The messenger.
File
- src/
Form/ ReportsForm.php, line 38
Class
- ReportsForm
- Class ReportsForm.
Namespace
Drupal\piwik_reports\FormCode
public function __construct(UserDataInterface $user_data, MessengerInterface $messenger) {
$this->userData = $user_data;
$this->messenger = $messenger;
}