You are here

w3c_validator.module in W3C Validator 8

Same filename and directory in other branches
  1. 6 w3c_validator.module
  2. 7 w3c_validator.module

Hooks for W3CValidator module.

File

w3c_validator.module
View 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

Namesort descending Description
w3c_validator_cron Implements hook_cron().