public function W3CProcessor::__construct in W3C Validator 8
Constructs a W3CSubscriber object.
Parameters
\Drupal\w3c_validator\W3CTokenManager $w3c_token_manager: The form builder service.
\Drupal\Core\Database\Connection $connection: The database connection.
\Drupal\Core\Config\ConfigFactoryInterface $config_factory: The configuration factory.
\Drupal\Core\Access\AccessManagerInterface $access_manager: The access manager interface.
\Drupal\Core\Session\AccountInterface $current_user: The current user.
\Psr\Log\LoggerInterface $logger: A logger instance.
File
- src/
W3CProcessor.php, line 90
Class
- W3CProcessor
- Processor for page validation.
Namespace
Drupal\w3c_validatorCode
public function __construct(W3CTokenManager $w3c_token_manager, Connection $connection, ConfigFactoryInterface $config_factory, AccessManagerInterface $access_manager, AccountInterface $current_user, LoggerInterface $logger) {
$this->w3cTokenManager = $w3c_token_manager;
$this->connection = $connection;
$this->configFactory = $config_factory;
$this->accessManager = $access_manager;
$this->currentUser = $current_user;
$this->logger = $logger;
}