function twitter_signin_menu in Twitter 7.4
Same name and namespace in other branches
- 6.5 twitter_signin/twitter_signin.module \twitter_signin_menu()
- 6.3 twitter_signin/twitter_signin.module \twitter_signin_menu()
- 6.4 twitter_signin/twitter_signin.module \twitter_signin_menu()
- 7.6 twitter_signin/twitter_signin.module \twitter_signin_menu()
- 7.3 twitter_signin/twitter_signin.module \twitter_signin_menu()
- 7.5 twitter_signin/twitter_signin.module \twitter_signin_menu()
Implements hook_menu().
File
- twitter_signin/
twitter_signin.module, line 10 - Hook implementations for Twitter Signin module.
Code
function twitter_signin_menu() {
$items['twitter/redirect'] = array(
'title' => 'Twitter Redirect',
'page callback' => 'twitter_signin_redirect',
'access callback' => TRUE,
'type' => MENU_CALLBACK,
);
$items['admin/config/services/twitter/signin'] = array(
'title' => 'Sign-in',
'page callback' => 'drupal_get_form',
'page arguments' => array(
'twitter_signin_admin_settings',
),
'access arguments' => array(
'administer site configuration',
),
'file' => 'twitter_signin.pages.inc',
'type' => MENU_LOCAL_TASK,
'weight' => 5,
);
return $items;
}