function apachesolr_multilingual_menu in Apache Solr Multilingual 6
Same name and namespace in other branches
- 6.2 apachesolr_multilingual.module \apachesolr_multilingual_menu()
Implements hook_menu().
File
- ./
apachesolr_multilingual.module, line 264 - Multilingual search using Apache Solr.
Code
function apachesolr_multilingual_menu() {
$items = array();
$items['admin/settings/apachesolr/multilingual'] = array(
'title' => 'Multilingual',
'weight' => 0,
'page callback' => 'drupal_get_form',
'page arguments' => array(
'apachesolr_multilingual_admin_form',
),
'file' => 'apachesolr_multilingual.admin.inc',
'access arguments' => array(
'administer search',
),
'type' => MENU_LOCAL_TASK,
);
$items['admin/settings/apachesolr/schema_generator'] = array(
'title' => 'Config files',
'weight' => 10,
'page callback' => 'drupal_get_form',
'page arguments' => array(
'apachesolr_multilingual_schema_generator_form',
),
'file' => 'apachesolr_multilingual.schema_generator.inc',
'access arguments' => array(
'administer search',
),
'type' => MENU_LOCAL_TASK,
);
return $items;
}