function disqus_menu in Disqus 7
Same name and namespace in other branches
- 5 disqus.module \disqus_menu()
- 6 disqus.module \disqus_menu()
Implements hook_menu().
File
- ./
disqus.module, line 67 - The Disqus Drupal module.
Code
function disqus_menu() {
$items = array();
$items['admin/config/services/disqus'] = array(
'title' => 'Disqus',
'description' => 'Provides configuration options for the Disqus comment system.',
'access arguments' => array(
'administer disqus',
),
'page callback' => 'drupal_get_form',
'page arguments' => array(
'disqus_admin_settings',
),
'file' => 'disqus.admin.inc',
);
$items['disqus/closewindow'] = array(
'title' => 'Please wait',
'description' => 'Once the user logs in through the Disqus login workflow, they are redirected here to automatically close the popup window.',
'access arguments' => array(
'access content',
),
'page callback' => 'disqus_closewindow',
'type' => MENU_CALLBACK,
);
return $items;
}