You are here

function disqus_menu in Disqus 5

Same name and namespace in other branches
  1. 6 disqus.module \disqus_menu()
  2. 7 disqus.module \disqus_menu()

Implementation of hook_menu().

File

./disqus.module, line 33

Code

function disqus_menu($may_cache) {
  $items = array();
  if ($may_cache) {
    $items[] = array(
      'path' => 'admin/settings/disqus',
      'title' => t('Disqus'),
      'description' => t('Provides configuration options for the Disqus comment system.'),
      'access' => user_access('administer disqus'),
      'callback' => 'drupal_get_form',
      'callback arguments' => array(
        'disqus_admin_settings_menu',
      ),
    );
  }
  return $items;
}