function addtoany_menu in AddToAny Share Buttons 7.4
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()
- 6.2 addtoany.module \addtoany_menu()
- 7 addtoany.module \addtoany_menu()
- 7.3 addtoany.module \addtoany_menu()
Implements hook_menu().
File
- ./
addtoany.module, line 88 - Stand alone module file to handle AddToAny buttons integration
Code
function addtoany_menu() {
$items = array();
$items['admin/config/services/addtoany'] = array(
'title' => t('AddToAny'),
'description' => t('Settings for your <a href="https://www.addtoany.com/" target="blank">AddToAny</a> share buttons.'),
'page callback' => 'drupal_get_form',
'page arguments' => array(
'addtoany_admin_settings',
),
'access arguments' => array(
'administer addtoany',
),
'file' => 'addtoany.admin.inc',
);
return $items;
}