You are here

function fb_social_share_menu in Facebook social plugins integration 6

Implementation of hook_menu

File

modules/fb_social_share/fb_social_share.module, line 38

Code

function fb_social_share_menu() {
  $items = array();
  $items['admin/settings/fb/social/share'] = array(
    'title' => 'share',
    'description' => 'Facebook share module settings',
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'fb_social_share_settings_form',
    ),
    'access callback' => 'user_access',
    'access arguments' => array(
      'access administration pages',
    ),
    'file' => 'fb_social_share.admin.inc',
    'type' => MENU_LOCAL_TASK,
  );
  return $items;
}