function addthis_menu in AddThis 7.2
Same name and namespace in other branches
- 5.2 addthis.module \addthis_menu()
- 6.3 addthis.module \addthis_menu()
- 6.2 addthis.module \addthis_menu()
- 7.4 addthis.module \addthis_menu()
Implement of hook_menu().
File
- ./
addthis.module, line 43 - Stand alone module file to handle AddThis button integration
Code
function addthis_menu() {
$items = array();
$items['admin/config/system/addthis'] = array(
'title' => t('AddThis'),
'description' => t('Set username and customize look and feel for <a href="http://www.addthis.com/">AddThis</a> button.'),
'page callback' => 'drupal_get_form',
'page arguments' => array(
'addthis_admin_settings',
),
'access arguments' => array(
'administer addthis',
),
'file' => 'addthis.admin.inc',
);
return $items;
}