function addtoany_menu in AddToAny Share Buttons 6.2
Same name and namespace in other branches
- 5.2 addtoany.module \addtoany_menu()
- 5.0 addtoany.module \addtoany_menu()
- 6.3 addtoany.module \addtoany_menu()
- 7.4 addtoany.module \addtoany_menu()
- 7 addtoany.module \addtoany_menu()
- 7.3 addtoany.module \addtoany_menu()
Implementation of hook_menu().
File
- ./
addtoany.module, line 93 - Standalone module file to handle AddToAny button integration
Code
function addtoany_menu() {
$items = array();
$items['admin/settings/addtoany'] = array(
'title' => t('AddToAny'),
'description' => t('Settings for your <a href="http://www.addtoany.com/" target="blank">AddToAny</a> Share/Save buttons.'),
'page callback' => 'drupal_get_form',
'page arguments' => array(
'addtoany_admin_settings',
),
'access arguments' => array(
'administer addtoany',
),
'file' => 'addtoany.admin.inc',
);
return $items;
}