You are here

search_api_solr_multilingual.routing.yml in Search API Multilingual Solr Search 8

File

search_api_solr_multilingual.routing.yml
View source
  1. # SolrFieldType routing definition
  2. entity.solr_field_type.collection:
  3. path: '/admin/config/search/search-api/server/{search_api_server}/solr_field_type'
  4. defaults:
  5. _title: 'SolrFieldType Configuration'
  6. _controller: '\Drupal\search_api_solr_multilingual\Controller\SolrFieldTypeController::listing'
  7. options:
  8. parameters:
  9. search_api_server:
  10. type: entity:search_api_server
  11. requirements:
  12. _permission: 'administer search_api'
  13. _search_api_solr_multilingual_local_action_access_check: 'TRUE'
  14. entity.solr_field_type.add_form:
  15. path: '/admin/config/search/search-api/solr_field_type/add'
  16. defaults:
  17. _entity_form: 'solr_field_type.add'
  18. _title: 'Add SolrFieldType'
  19. requirements:
  20. _permission: 'administer search_api'
  21. entity.solr_field_type.edit_form:
  22. path: '/admin/config/search/search-api/solr_field_type/{solr_field_type}'
  23. defaults:
  24. _entity_form: 'solr_field_type.edit'
  25. _title: 'Edit SolrFieldType'
  26. requirements:
  27. _permission: 'administer search_api'
  28. entity.solr_field_type.delete_form:
  29. path: '/admin/config/search/search-api/solr_field_type/{solr_field_type}/delete'
  30. defaults:
  31. _entity_form: 'solr_field_type.delete'
  32. _title: 'Delete SolrFieldType'
  33. requirements:
  34. _permission: 'administer search_api'
  35. entity.solr_field_type.export_form:
  36. path: '/admin/config/search/search-api/solr_field_type/{solr_field_type}/export'
  37. defaults:
  38. _entity_form: 'solr_field_type.export'
  39. _title: 'Export SolrFieldType'
  40. requirements:
  41. _permission: 'administer search_api'
  42. entity.solr_field_type.schema_extra_types_collection:
  43. path: '/admin/config/search/search-api/server/{search_api_server}/multilingual/solr_field_type/schema-extra-types-collection'
  44. defaults:
  45. _title: 'schema_extra_types.xml'
  46. _controller: '\Drupal\search_api_solr_multilingual\Controller\SolrFieldTypeController::getSchemaExtraTypesXml'
  47. options:
  48. parameters:
  49. search_api_server:
  50. type: entity:search_api_server
  51. requirements:
  52. _permission: 'administer search_api'
  53. _search_api_solr_multilingual_local_action_access_check: 'TRUE'
  54. entity.solr_field_type.schema_extra_fields_collection:
  55. path: '/admin/config/search/search-api/server/{search_api_server}/multilingual/solr_field_type/schema-extra-fields-collection'
  56. defaults:
  57. _title: 'schema_extra_fields.xml'
  58. _controller: '\Drupal\search_api_solr_multilingual\Controller\SolrFieldTypeController::getSchemaExtraFieldsXml'
  59. options:
  60. parameters:
  61. search_api_server:
  62. type: entity:search_api_server
  63. requirements:
  64. _permission: 'administer search_api'
  65. _search_api_solr_multilingual_local_action_access_check: 'TRUE'
  66. entity.solr_field_type.config_zip_collection:
  67. path: '/admin/config/search/search-api/server/{search_api_server}/multilingual/solr_field_type/config-zip-collection'
  68. defaults:
  69. _title: 'config.zip'
  70. _controller: '\Drupal\search_api_solr_multilingual\Controller\SolrFieldTypeController::getConfigZip'
  71. options:
  72. parameters:
  73. search_api_server:
  74. type: entity:search_api_server
  75. requirements:
  76. _permission: 'administer search_api'
  77. _search_api_solr_multilingual_local_action_access_check: 'TRUE'