function twitter_signin_menu in Twitter 6.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()
- 7.6 twitter_signin/twitter_signin.module \twitter_signin_menu()
- 7.3 twitter_signin/twitter_signin.module \twitter_signin_menu()
- 7.4 twitter_signin/twitter_signin.module \twitter_signin_menu()
- 7.5 twitter_signin/twitter_signin.module \twitter_signin_menu()
Implementation of hook_menu().
File
- twitter_signin/
twitter_signin.module, line 10 - Hook implementations for twitter_signin module.
Code
function twitter_signin_menu() {
$items = array();
$items['twitter/redirect'] = array(
'title' => 'Twitter Redirect',
'page callback' => 'twitter_signin_redirect',
'access callback' => TRUE,
'type' => MENU_CALLBACK,
);
$items['admin/settings/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;
}