You are here

function sharethis_menu in ShareThis 6.2

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

Implementation of hook_menu().

File

./sharethis.module, line 16

Code

function sharethis_menu() {
  $items['admin/settings/service_links/sharethis'] = array(
    'title' => 'ShareThis',
    'description' => 'Configuration options for the ShareThis web service.',
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'sharethis_admin_settings',
    ),
    'access arguments' => array(
      'administer service links',
    ),
    'type' => MENU_LOCAL_TASK,
    'weight' => 10,
    'file' => 'sharethis.admin.inc',
  );
  return $items;
}