function sharethis_menu in ShareThis 7
Same name and namespace in other branches
- 5 sharethis.module \sharethis_menu()
- 6.2 sharethis.module \sharethis_menu()
- 6 sharethis.module \sharethis_menu()
- 7.2 sharethis.module \sharethis_menu()
Implements hook_menu.
This is the ShareThis Config Menu.
File
- ./
sharethis.module, line 243 - A module that adds one of the ShareThis widget to your website.
Code
function sharethis_menu() {
$items['admin/config/sharethis'] = array(
'title' => 'ShareThis Settings',
'description' => 'Choose widget, button family, and services!',
'page callback' => 'drupal_get_form',
'page arguments' => array(
'sharethis_admin',
),
'access arguments' => array(
'access administration pages',
),
);
$items['admin/config/sharethisDB'] = array(
'page callback' => 'sharethis_DB_update',
'type' => MENU_CALLBACK,
'access arguments' => array(
'access administration pages',
),
);
return $items;
}