You are here

function twitter_post_menu in Twitter 6.4

Same name and namespace in other branches
  1. 6.5 twitter_post/twitter_post.module \twitter_post_menu()
  2. 6.3 twitter_post/twitter_post.module \twitter_post_menu()
  3. 7.3 twitter_post/twitter_post.module \twitter_post_menu()
  4. 7.4 twitter_post/twitter_post.module \twitter_post_menu()
  5. 7.5 twitter_post/twitter_post.module \twitter_post_menu()

Implementation of hook_menu().

File

twitter_post/twitter_post.module, line 11
Main hooks for twitter post module

Code

function twitter_post_menu() {
  $items['admin/settings/twitter/post'] = array(
    'title' => 'Post',
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'twitter_post_admin_settings',
    ),
    'access arguments' => array(
      'administer site configuration',
    ),
    'file' => 'twitter_post.pages.inc',
    'type' => MENU_LOCAL_TASK,
    'weight' => 3,
  );
  return $items;
}