You are here

search_api_solr_admin.routing.yml in Search API Solr 8.3

modules/search_api_solr_admin/search_api_solr_admin.routing.yml

File

modules/search_api_solr_admin/search_api_solr_admin.routing.yml
View source
  1. search_api_solr_admin.solr_admin_form:
  2. path: '/admin/config/search/search-api/server/{search_api_server}/solr-admin'
  3. options:
  4. parameters:
  5. search_api_server:
  6. type: entity:search_api_server
  7. with_config_overrides: TRUE
  8. defaults:
  9. _form: '\Drupal\search_api_solr_admin\Form\SolrAdminForm'
  10. _title: 'Solr Admin'
  11. requirements:
  12. _search_api_solr_admin_access_check: 'TRUE'
  13. _permission: 'execute solr admin task'
  14. search_api_solr_admin.solr_reload_core_form:
  15. path: '/admin/config/search/search-api/server/{search_api_server}/solr-admin/reload-core'
  16. options:
  17. parameters:
  18. search_api_server:
  19. type: entity:search_api_server
  20. with_config_overrides: TRUE
  21. defaults:
  22. _form: '\Drupal\search_api_solr_admin\Form\SolrReloadCoreForm'
  23. _title: 'Reload Core'
  24. requirements:
  25. _search_api_solr_admin_access_check: 'TRUE'
  26. _permission: 'execute solr admin task'