function jquery_social_stream_menu in jQuery social stream 7
Same name and namespace in other branches
- 7.2 jquery_social_stream.module \jquery_social_stream_menu()
Implements hook_menu().
File
- ./
jquery_social_stream.module, line 20 - Code for the Campaign social media module.
Code
function jquery_social_stream_menu() {
$items = array();
$items['admin/config/services/jquery-social-stream'] = array(
'title' => 'jQuery social stream',
'page callback' => 'drupal_get_form',
'page arguments' => array(
'jquery_social_stream_admin_form',
),
'access arguments' => array(
'administer site configuration',
),
'file' => 'jquery_social_stream.admin.inc',
);
$items['js/jquery_social_stream/' . JQUERY_SOCIAL_STREAM_TWITTER_PATH] = array(
'page callback' => 'jquery_social_stream_twitter_callback',
'file' => 'jquery_social_stream.js.inc',
'access callback' => TRUE,
);
return $items;
}