public function CssW3Form::__construct in Advanced CSS/JS Aggregation 8.2
Same name and namespace in other branches
- 8.3 advagg_validator/src/Form/CssW3Form.php \Drupal\advagg_validator\Form\CssW3Form::__construct()
Parameters
\GuzzleHttp\Client $http_client: The Guzzle HTTP Client.
\Drupal\Core\Render\RendererInterface $renderer: The Drupal renderer.
Overrides AdvaggFormBase::__construct
File
- advagg_validator/
src/ Form/ CssW3Form.php, line 43
Class
- CssW3Form
- Configure form for W3C validation of CSS files.
Namespace
Drupal\advagg_validator\FormCode
public function __construct(ConfigFactoryInterface $config_factory, StateInterface $advagg_files, StateInterface $advagg_aggregates, RequestStack $request_stack, Client $http_client, RendererInterface $renderer) {
parent::__construct($config_factory, $advagg_files, $advagg_aggregates, $request_stack);
$this->requestStack = $request_stack;
$this->httpClient = $http_client;
$this->renderer = $renderer;
}