function addtoany_menu in AddToAny Share Buttons 5.2
Same name and namespace in other branches
- 5.0 addtoany.module \addtoany_menu()
- 6.3 addtoany.module \addtoany_menu()
- 6.2 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 37 - Stand alone module file to handle AddToAny button integration
Code
function addtoany_menu($may_cache) {
$items = array();
if ($may_cache) {
$items[] = array(
'path' => 'admin/settings/addtoany',
'title' => t('AddToAny'),
'description' => t('Settings for your <a href="http://www.addtoany.com/" target="blank">AddToAny</a> Share/Save buttons.'),
'callback' => 'drupal_get_form',
'callback arguments' => array(
'addtoany_admin_settings',
),
'access' => user_access('administer addtoany'),
);
}
return $items;
}