You are here

function domain_lang_menu in Domain Lang 7

Implements hook_menu().

File

./domain_lang.module, line 11
Domain Language detection and selection module.

Code

function domain_lang_menu() {
  return array(
    'admin/structure/domain/view/%domain/language-detect-select' => array(
      'title' => 'Language Detect & Select',
      'type' => MENU_LOCAL_TASK,
      'page callback' => 'drupal_get_form',
      'page arguments' => array(
        'domain_lang_detection_selection_form',
        4,
      ),
      'access arguments' => array(
        'administer domains',
      ),
      'file' => 'domain_lang.admin.inc',
    ),
  );
}