You are here

function facebookshare_menu in Facebook Share 7

Same name and namespace in other branches
  1. 6.3 facebookshare.module \facebookshare_menu()
  2. 6 facebookshare.module \facebookshare_menu()

Implements hook_menu()

File

./facebookshare.module, line 37
Adds a button to a node to share on a user's Facebook stream

Code

function facebookshare_menu() {
  $item['admin/config/user-interface/facebookshare'] = array(
    'title' => 'Facebook Share',
    'description' => 'Provides the configuration options for how Facebook Share operates on the site.',
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'facebookshare_admin_settings',
    ),
    'access arguments' => array(
      'administer facebookshare',
    ),
    'file' => 'facebookshare.admin.inc',
  );
  return $item;
}