public function W3CProcessor::getValidatorUrl in W3C Validator 8
Get W3C configured validator URL.
Return value
string The validator URL.
1 call to W3CProcessor::getValidatorUrl()
- W3CProcessor::validatePage in src/
W3CProcessor.php - This method is responsible for the validation of a single page.
File
- src/
W3CProcessor.php, line 105
Class
- W3CProcessor
- Processor for page validation.
Namespace
Drupal\w3c_validatorCode
public function getValidatorUrl() {
$config_url = $this
->moduleSettings()
->get('validator_url');
return empty($config_url) ? Validator::DEFAULT_VALIDATOR_URL : $config_url;
}