w3c_validator.module in W3C Validator 8
Same filename and directory in other branches
Hooks for W3CValidator module.
File
w3c_validator.moduleView source
<?php
/**
* @file
* Hooks for W3CValidator module.
*/
/**
* Implements hook_cron().
*/
function w3c_validator_cron() {
$context = [];
// Do validation as admin user.
// $user = User::load(1);.
// \Drupal::service('w3c.processor')->validateAllPages($context, 10, $user);.
}
Functions
Name | Description |
---|---|
w3c_validator_cron | Implements hook_cron(). |