function ip_anon_menu in IP Anonymize 5
Same name and namespace in other branches
- 6 ip_anon.module \ip_anon_menu()
- 7 ip_anon.module \ip_anon_menu()
Implementation of hook_menu().
File
- ./
ip_anon.module, line 11 - Establishes an IP address retention policy.
Code
function ip_anon_menu($may_cache) {
$items = array();
if ($may_cache) {
$items[] = array(
'path' => 'admin/settings/ip_anon',
'title' => t('IP anonymize'),
'description' => t('Configure the IP address retention policy.'),
'callback' => 'drupal_get_form',
'callback arguments' => array(
'ip_anon_settings',
),
'access' => user_access('administer site configuration'),
);
}
return $items;
}