You are here

function language_cookie_menu in Language Cookie 7

Same name and namespace in other branches
  1. 7.2 language_cookie.module \language_cookie_menu()

Implements hook_menu().

File

./language_cookie.module, line 15
Language Cookie module.

Code

function language_cookie_menu() {
  $items = array();
  $items['admin/config/regional/language/configure/cookie'] = array(
    'title' => 'Cookie language detection configuration',
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'language_cookie_admin_form',
    ),
    'access arguments' => array(
      'administer languages',
    ),
    'file' => 'language_cookie.admin.inc',
    'type' => MENU_VISIBLE_IN_BREADCRUMB,
  );
  return $items;
}