Same name in other branches
- 5.0.x advagg_validator/src/Form/CssW3Form.php \Drupal\advagg_validator\Form\CssW3Form::create()
- 8.x-2.x advagg_validator/src/Form/CssW3Form.php \Drupal\advagg_validator\Form\CssW3Form::create()
- 8.x-3.x advagg_validator/src/Form/CssW3Form.php \Drupal\advagg_validator\Form\CssW3Form::create()
- 8.x-4.x advagg_validator/src/Form/CssW3Form.php \Drupal\advagg_validator\Form\CssW3Form::create()
Overrides BaseValidatorForm::create
1 call to CssW3Form::create()
- CssW3FormTest::setUp dans advagg_validator/
tests/ src/ Kernel/ Form/ CssW3FormTest.php - @covers ::__construct
Fichier
-
advagg_validator/
src/ Form/ CssW3Form.php, line 35
Classe
- CssW3Form
- Configure form for W3C validation of CSS files.
Namespace
Drupal\advagg_validator\FormCode
public static function create(ContainerInterface $container) {
/**
* @var \Drupal\advagg_validator\Form\CssW3Form
*/
$instance = parent::create($container);
$instance->setRequestStack($container->get('request_stack'));
$instance->setHttpClient($container->get('http_client'));
$instance->setRenderer($container->get('renderer'));
return $instance;
}