You are here

function search_api_solr_menu in Search API Solr 7

Implements hook_menu().

File

./search_api_solr.module, line 11
Provides a Solr-based service class for the Search API.

Code

function search_api_solr_menu() {
  $items['admin/config/search/search_api/server/%search_api_server/files'] = array(
    'title' => 'Files',
    'description' => 'View Solr configuration files.',
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'search_api_solr_solr_config_form',
      5,
    ),
    'access callback' => 'search_api_solr_access_server_files',
    'access arguments' => array(
      5,
    ),
    'file' => 'search_api_solr.admin.inc',
    'type' => MENU_LOCAL_TASK,
    'weight' => -1,
    'context' => MENU_CONTEXT_INLINE | MENU_CONTEXT_PAGE,
  );
  return $items;
}