You are here

function sharethis_menu in ShareThis 5

Same name and namespace in other branches
  1. 6.2 sharethis.module \sharethis_menu()
  2. 6 sharethis.module \sharethis_menu()
  3. 7.2 sharethis.module \sharethis_menu()
  4. 7 sharethis.module \sharethis_menu()

File

./sharethis.module, line 30
Provides the ShareThis service.

Code

function sharethis_menu() {
  $items = array();
  $items[] = array(
    'path' => 'admin/settings/sharethis',
    'title' => t('ShareThis'),
    'description' => t('Administer settings related to the ShareThis web service.'),
    'callback' => 'drupal_get_form',
    'callback arguments' => array(
      'sharethis_admin_settings',
    ),
    'access' => user_access('administer sharethis'),
    'type' => MENU_NORMAL_ITEM,
  );
  return $items;
}