You are here

public function GoogleAnalyticsReportsAdminSettingsForm::__construct in Google Analytics Reports 8.3

Constructs a new Google Analytics Reports Api Admin Settings Form.

Parameters

\Drupal\Core\Config\ConfigFactoryInterface $config_factory: The configuration factory.

\Drupal\Core\Datetime\DateFormatterInterface $date_formatter: The Date formatter.

Symfony\Component\HttpFoundation\RequestStack $request_stack: The request service.

Overrides GoogleAnalyticsReportsApiAdminSettingsForm::__construct

File

src/Form/GoogleAnalyticsReportsAdminSettingsForm.php, line 27

Class

GoogleAnalyticsReportsAdminSettingsForm
Implements Google Analytics Reports API Admin Settings form override.

Namespace

Drupal\google_analytics_reports\Form

Code

public function __construct(DateFormatterInterface $date_formatter) {
  $this->dateFormatter = $date_formatter;
}