You are here

search_api_federated_solr.routing.yml in Search API Federated Solr 8.2

File

search_api_federated_solr.routing.yml
View source
  1. search_api_federated_solr.search_app.settings:
  2. path: '/admin/config/search-api-federated-solr/search-app/settings'
  3. defaults:
  4. _form: '\Drupal\search_api_federated_solr\Form\SearchApiFederatedSolrSearchAppSettingsForm'
  5. _title: 'Search API Federated Solr: Search App Settings'
  6. requirements:
  7. _permission: 'administer federated search'
  8. search_api_federated_solr.solr_proxy:
  9. path: '/search-api-federated-solr/search'
  10. methods: [GET]
  11. defaults:
  12. _controller: '\Drupal\search_api_federated_solr\Controller\SolrProxyController::getResultsJson'
  13. requirements:
  14. _permission: 'use federated search'
  15. route_callbacks:
  16. - '\Drupal\search_api_federated_solr\Routing\SearchApiFederatedSolrRoutes::routes'