You are here

function tweetbutton_menu in Tweet Button 7.2

Same name and namespace in other branches
  1. 8 tweetbutton.module \tweetbutton_menu()
  2. 6 tweetbutton.module \tweetbutton_menu()
  3. 7 tweetbutton.module \tweetbutton_menu()

Implements hook_menu().

File

./tweetbutton.module, line 238

Code

function tweetbutton_menu() {
  $items = array();
  $items['admin/config/services/tweetbutton'] = array(
    'title' => 'Tweet Button',
    'description' => 'Configure the look and behavior of the Tweet Button appears on the site.',
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'tweetbutton_admin_settings',
    ),
    'access arguments' => array(
      'administer tweetbutton',
    ),
    'file' => 'tweetbutton.admin.inc',
    'type' => MENU_NORMAL_ITEM,
  );
  return $items;
}