You are here

function tweet_menu in Tweet 5.2

Same name and namespace in other branches
  1. 5 tweet.module \tweet_menu()
  2. 6.4 tweet.module \tweet_menu()
  3. 6 tweet.module \tweet_menu()
  4. 6.2 tweet.module \tweet_menu()
  5. 6.3 tweet.module \tweet_menu()
  6. 7.4 tweet.module \tweet_menu()

Implementation of hook_menu().

File

./tweet.module, line 47
Builds links to post pages to twitter.

Code

function tweet_menu($may_cache) {
  $items = array();
  if (!$may_cache) {
    $items[] = array(
      'path' => 'admin/settings/tweet',
      'title' => t('Tweet settings'),
      'description' => t('Allows administrators to adjust certain display settings for Tweet.'),
      'callback' => 'drupal_get_form',
      'callback arguments' => 'tweet_admin',
      'access' => user_access('access administration pages'),
      'type' => MENU_NORMAL_ITEM,
    );
  }
  return $items;
}