apachesolr_ajax_menu

Versions
6
apachesolr_ajax_menu()

Implementation of hook_menu().

Code

contributions/apachesolr_ajax/apachesolr_ajax.module, line 11

<?php
function apachesolr_ajax_menu() {
  $items = array();
  $items['admin/settings/apachesolr_ajax'] = array(
    'title' => 'Apache Solr AJAX',
    'description' => t('Administer settings related to the Apache Solr AJAX module.'),
    'page callback' => 'drupal_get_form',
    'page arguments' => array('apachesolr_ajax_admin_settings'),
    'access arguments' => array('administer search'),
    'file' => 'includes/apachesolr_ajax.admin.inc',
  );
  $items['apachesolr_ajax'] = array(
    'page callback' => 'apachesolr_ajax_proxy_queries',
    'access callback' => 'apachesolr_ajax_passthru_enabled',
    'type' => MENU_CALLBACK,
    'file' => 'includes/apachesolr_ajax.proxy.inc',
  );
  return $items;
}
?>

Post new comment

The content of this field is kept private and will not be shown publicly.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.
  • You may post code using <code>...</code> (generic) or <?php ... ?> (highlighted PHP) tags.
  • Web page addresses and e-mail addresses turn into links automatically.

More information about formatting options

CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.
Image CAPTCHA
Enter the characters shown in the image.