You are here

function ip_language_negotiation_menu in IP Language Negotiation 7

Implements hook_menu().

File

./ip_language_negotiation.module, line 27
Main module file for the IP Language Negotiation.

Code

function ip_language_negotiation_menu() {
  $items['admin/config/regional/language/configure/ip'] = array(
    'title' => 'IP Country detection configuration',
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'ip_language_negotiation_form',
    ),
    'access arguments' => array(
      'administer languages',
    ),
    'file' => 'ip_language_negotiation.admin.inc',
    'type' => MENU_VISIBLE_IN_BREADCRUMB,
  );
  return $items;
}