You are here

public function W3CValidatorOperationForm::__construct in W3C Validator 8

Constructs a new W3CValidatorOperationForm.

Parameters

\Drupal\Core\Database\Connection $connection: The database connection.

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

File

src/Form/W3CValidatorOperationForm.php, line 40

Class

W3CValidatorOperationForm
Provides the operation form on report page.

Namespace

Drupal\w3c_validator\Form

Code

public function __construct(Connection $connection, W3CProcessor $w3c_processor) {
  $this->connection = $connection;
  $this->w3cProcessor = $w3c_processor;
}