You are here

function apachesolr_confgen_textfiles_menu in Apache Solr Config Generator 6

Same name and namespace in other branches
  1. 7 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/settings/apachesolr/confgen/textfiles'] = array(
    'title' => 'Text Files',
    'weight' => 0,
    'page callback' => 'drupal_get_form',
    // see https://drupal.org/node/1737126
    'page arguments' => array(
      'variable_module_form',
      'apachesolr_confgen_textfiles',
    ),
    'access arguments' => array(
      'administer search',
    ),
    'type' => MENU_LOCAL_TASK,
  );
  return $items;
}