You are here

function apachesolr_confgen_textfiles_menu in Apache Solr Config Generator 7

Same name and namespace in other branches
  1. 6 apachesolr_confgen_textfiles/apachesolr_confgen_textfiles.module \apachesolr_confgen_textfiles_menu()

Implements hook_menu().

File

apachesolr_confgen_textfiles/apachesolr_confgen_textfiles.module, line 16
@author Markus Kalkbrenner (mkalkbrenner) | bio.logis GmbH

Code

function apachesolr_confgen_textfiles_menu() {
  $items = array();
  $items['admin/config/search/apachesolr/confgen/textfiles'] = array(
    'title' => 'Text Files',
    'weight' => 0,
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'apachesolr_confgen_textfile_settings_form',
    ),
    'file' => 'apachesolr_confgen_textfiles.admin.inc',
    'access arguments' => array(
      'administer search',
    ),
    'type' => MENU_LOCAL_TASK,
  );
  return $items;
}