function node_title_validation_menu in Node Title Validation 7
Implements hook_menu().
File
- ./
node_title_validation.module, line 29 - Node title validation module file.
Code
function node_title_validation_menu() {
$items = array();
$items['admin/config/content/node-title-validation'] = array(
'title' => 'Node title validation',
'description' => 'Validating node title',
'page callback' => 'drupal_get_form',
'page arguments' => array(
'node_title_validation_admin_form',
),
'access arguments' => array(
'node title validation admin control',
),
'file' => 'node_title_validation.admin.inc',
);
return $items;
}