function w3c_validator_cron in W3C Validator 8
Same name and namespace in other branches
- 6 w3c_validator.module \w3c_validator_cron()
Implements hook_cron().
File
- ./
w3c_validator.module, line 11 - Hooks for W3CValidator module.
Code
function w3c_validator_cron() {
$context = [];
// Do validation as admin user.
// $user = User::load(1);.
// \Drupal::service('w3c.processor')->validateAllPages($context, 10, $user);.
}