You are here

search_api_solr.routing.yml in Search API Solr 8.2

File

search_api_solr.routing.yml
View source
  1. search_api_solr.solr_config_form:
  2. path: '/admin/config/search/search-api/server/{search_api_server}/files'
  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\Form\SolrConfigForm'
  10. requirements:
  11. _permission: 'administer search_api'
  12. _custom_access: '\Drupal\search_api_solr\Form\SolrConfigForm::access'
  13. # SolrFieldType routing definition
  14. entity.solr_field_type.collection:
  15. path: '/admin/config/search/search-api/server/{search_api_server}/solr_field_type'
  16. defaults:
  17. _title: 'SolrFieldType Configuration'
  18. _controller: '\Drupal\search_api_solr\Controller\SolrFieldTypeController::listing'
  19. options:
  20. parameters:
  21. search_api_server:
  22. type: entity:search_api_server
  23. with_config_overrides: TRUE
  24. requirements:
  25. _permission: 'administer search_api'
  26. _search_api_solr_local_action_access_check: 'TRUE'
  27. entity.solr_field_type.add_form:
  28. path: '/admin/config/search/search-api/solr_field_type/add'
  29. defaults:
  30. _entity_form: 'solr_field_type.add'
  31. _title: 'Add SolrFieldType'
  32. requirements:
  33. _permission: 'administer search_api'
  34. entity.solr_field_type.edit_form:
  35. path: '/admin/config/search/search-api/solr_field_type/{solr_field_type}'
  36. defaults:
  37. _entity_form: 'solr_field_type.edit'
  38. _title: 'Edit SolrFieldType'
  39. requirements:
  40. _permission: 'administer search_api'
  41. entity.solr_field_type.delete_form:
  42. path: '/admin/config/search/search-api/solr_field_type/{solr_field_type}/delete'
  43. defaults:
  44. _entity_form: 'solr_field_type.delete'
  45. _title: 'Delete SolrFieldType'
  46. requirements:
  47. _permission: 'administer search_api'
  48. entity.solr_field_type.export_form:
  49. path: '/admin/config/search/search-api/solr_field_type/{solr_field_type}/export'
  50. defaults:
  51. _entity_form: 'solr_field_type.export'
  52. _title: 'Export SolrFieldType'
  53. requirements:
  54. _permission: 'administer search_api'
  55. entity.solr_field_type.schema_extra_types_collection:
  56. path: '/admin/config/search/search-api/server/{search_api_server}/solr_field_type/schema-extra-types-collection'
  57. defaults:
  58. _title: 'schema_extra_types.xml'
  59. _controller: '\Drupal\search_api_solr\Controller\SolrFieldTypeController::getSchemaExtraTypesXml'
  60. options:
  61. parameters:
  62. search_api_server:
  63. type: entity:search_api_server
  64. with_config_overrides: TRUE
  65. requirements:
  66. _permission: 'administer search_api'
  67. _search_api_solr_local_action_multilingual_access_check: 'TRUE'
  68. entity.solr_field_type.schema_extra_fields_collection:
  69. path: '/admin/config/search/search-api/server/{search_api_server}/solr_field_type/schema-extra-fields-collection'
  70. defaults:
  71. _title: 'schema_extra_fields.xml'
  72. _controller: '\Drupal\search_api_solr\Controller\SolrFieldTypeController::getSchemaExtraFieldsXml'
  73. options:
  74. parameters:
  75. search_api_server:
  76. type: entity:search_api_server
  77. with_config_overrides: TRUE
  78. requirements:
  79. _permission: 'administer search_api'
  80. _search_api_solr_local_action_multilingual_access_check: 'TRUE'
  81. entity.solr_field_type.config_zip_collection:
  82. path: '/admin/config/search/search-api/server/{search_api_server}/solr_field_type/config-zip-collection'
  83. defaults:
  84. _title: 'config.zip'
  85. _controller: '\Drupal\search_api_solr\Controller\SolrFieldTypeController::getConfigZip'
  86. options:
  87. parameters:
  88. search_api_server:
  89. type: entity:search_api_server
  90. with_config_overrides: TRUE
  91. requirements:
  92. _permission: 'administer search_api'
  93. _search_api_solr_local_action_access_check: 'TRUE'