You are here

function gravatar_menu in Gravatar integration 6

Same name and namespace in other branches
  1. 5 gravatar.module \gravatar_menu()
  2. 7 gravatar.module \gravatar_menu()

Implements hook_menu().

File

./gravatar.module, line 107
Integrates gravatar service for user pictures.

Code

function gravatar_menu() {
  $items['admin/user/gravatar'] = array(
    'title' => 'Gravatar',
    'description' => 'Administer Gravatar integration.',
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'gravatar_admin_settings',
    ),
    'access arguments' => array(
      'administer gravatar',
    ),
    'file' => 'gravatar.admin.inc',
  );
  return $items;
}