function fblikebutton_menu in Facebook Like Button 6
Same name and namespace in other branches
- 6.2 fblikebutton.module \fblikebutton_menu()
- 7.2 fblikebutton.module \fblikebutton_menu()
- 7 fblikebutton.module \fblikebutton_menu()
Implementation of hook_menu().
File
- ./
fblikebutton.module, line 13 - Adds Facebook's "Like" button to each selected node type. Adds a block with a global static value where users can "Like" the URL set by admins.
Code
function fblikebutton_menu() {
$items['admin/settings/fblikebutton'] = array(
'title' => 'FB Like Button',
'description' => 'Configure Facebook <em>Like</em> button settings.',
'page callback' => 'drupal_get_form',
'page arguments' => array(
'fblikebutton_admin_settings',
),
'access arguments' => array(
'administer site configuration',
),
'type' => MENU_NORMAL_ITEM,
'file' => 'fblikebutton.admin.inc',
);
return $items;
}