function w3c_validator_menu in W3C Validator 6
Same name and namespace in other branches
- 7 w3c_validator.module \w3c_validator_menu()
Implementation of hook_menu().
File
- ./
w3c_validator.module, line 13 - W3C Validator proxy.
Code
function w3c_validator_menu() {
$items = array();
$items['admin/settings/w3c_validator'] = array(
'title' => 'W3C Validator',
'description' => 'Settings for the W3C validator API.',
'page callback' => 'drupal_get_form',
'page arguments' => array(
'w3c_validator_admin_settings',
),
'access arguments' => array(
'administer w3c_validator',
),
'file' => 'w3c_validator.pages.inc',
);
$items['validator'] = array(
'title' => 'Validate URI',
'description' => 'Validate URI using the W3C Validator API',
'page callback' => 'w3c_validator_validate_uri_page',
'access arguments' => array(
'use w3c_validator',
),
'file' => 'w3c_validator.pages.inc',
);
return $items;
}