You are here

function w3c_validator_permission in W3C Validator 7

Implements hook_permission().

File

./w3c_validator.module, line 49

Code

function w3c_validator_permission() {
  return array(
    'administer_w3c' => array(
      'title' => t('Administer w3c_validator'),
      'description' => t('Administer settings for w3c_validator module.'),
    ),
    'use_w3c' => array(
      'title' => t('Use w3c_validator'),
      'description' => t('Access the W3C result page and use the module to validate URLs.'),
    ),
  );
}