function gravatar_menu in Gravatar integration 5
Same name and namespace in other branches
- 6 gravatar.module \gravatar_menu()
- 7 gravatar.module \gravatar_menu()
Implementation of hook_menu().
File
- ./
gravatar.module, line 72 - Integrates gravatar service for comment user pictures.
Code
function gravatar_menu($may_cache) {
$items = array();
if ($may_cache) {
$items[] = array(
'path' => 'admin/user/gravatar',
'title' => t('Gravatar'),
'description' => t('Administer gravatar integration.'),
'callback' => 'drupal_get_form',
'callback arguments' => array(
'gravatar_admin_settings',
),
'access' => user_access('administer site configuration'),
'type' => MENU_NORMAL_ITEM,
);
}
return $items;
}