You are here

function browscap_menu in Browscap 8

Same name and namespace in other branches
  1. 5 browscap.module \browscap_menu()
  2. 6.2 browscap.module \browscap_menu()
  3. 6 browscap.module \browscap_menu()
  4. 7.2 browscap.module \browscap_menu()
  5. 7 browscap.module \browscap_menu()

Implements hook_menu().

File

./browscap.module, line 24
Replacement for PHP's get_browser() function.

Code

function browscap_menu() {
  $items['admin/config/system/browscap'] = array(
    'title' => 'Browscap',
    'description' => 'Configure user agent monitoring and browscap information settings.',
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'browscap_settings_form',
    ),
    'access arguments' => array(
      'administer browscap',
    ),
    'file' => 'browscap.admin.inc',
  );
  return $items;
}