You are here

public function AdvaggFormBase::__construct in Advanced CSS/JS Aggregation 8.2

Same name and namespace in other branches
  1. 8.3 src/Form/AdvaggFormBase.php \Drupal\advagg\Form\AdvaggFormBase::__construct()

Constructs a SettingsForm object.

Parameters

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

\Drupal\Core\State\StateInterface $advagg_files: The AdvAgg file status state information storage service.

\Drupal\Core\State\StateInterface $advagg_aggregates: The AdvAgg aggregate state information storage service.

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

Overrides ConfigFormBase::__construct

1 call to AdvaggFormBase::__construct()
CssW3Form::__construct in advagg_validator/src/Form/CssW3Form.php
1 method overrides AdvaggFormBase::__construct()
CssW3Form::__construct in advagg_validator/src/Form/CssW3Form.php

File

src/Form/AdvaggFormBase.php, line 50

Class

AdvaggFormBase
View AdvAgg information for this site.

Namespace

Drupal\advagg\Form

Code

public function __construct(ConfigFactoryInterface $config_factory, StateInterface $advagg_files, StateInterface $advagg_aggregates, RequestStack $request_stack) {
  parent::__construct($config_factory);
  $this->advaggFiles = $advagg_files;
  $this->advaggAggregates = $advagg_aggregates;
  $this->requestStack = $request_stack;
}