You are here

public function W3cValidatorSettingsForm::__construct in W3C Validator 8

Constructs a \Drupal\system\ConfigFormBase object.

Parameters

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

\Drupal\w3c_validator\W3CProcessor $w3c_processor: The w3c validation processor.

Overrides ConfigFormBase::__construct

File

src/Form/W3cValidatorSettingsForm.php, line 36

Class

W3cValidatorSettingsForm
Configuration settings page for W3C Validator page.

Namespace

Drupal\w3c_validator\Form

Code

public function __construct(ConfigFactoryInterface $config_factory, W3CProcessor $w3c_processor) {
  parent::__construct($config_factory);
  $this->w3cProcessor = $w3c_processor;
}