search_api.routing.yml in Search API 8
33 string references to YAML keys in search_api.routing.yml
- IndexAddFieldsForm::addField in src/
Form/ IndexAddFieldsForm.php - Form submission handler for adding a new field to the index.
- IndexClearConfirmForm::getCancelUrl in src/
Form/ IndexClearConfirmForm.php - Returns the route to go to if the user cancels the action.
- IndexClearConfirmForm::submitForm in src/
Form/ IndexClearConfirmForm.php - This is the default entity object builder function. It is called before any other submit handler to build the new entity object to be used by the following submit handlers. At this point of the form workflow the entity is validated and the form state…
- IndexDeleteConfirmForm::getCancelUrl in src/
Form/ IndexDeleteConfirmForm.php - IndexDeleteConfirmForm::submitForm in src/
Form/ IndexDeleteConfirmForm.php
File
search_api.routing.ymlView source
- search_api.overview:
- path: '/admin/config/search/search-api'
- defaults:
- _title: 'Search API'
- _entity_list: 'search_api_index'
- requirements:
- _permission: 'administer search_api'
-
- search_api.execute_tasks:
- path: '/admin/config/search/search-api/execute-tasks'
- defaults:
- _controller: '\Drupal\search_api\Controller\TaskController::executeTasks'
- _title: 'Execute pending tasks'
- requirements:
- _custom_access: '\Drupal\search_api\Controller\TaskController::executeTasksAccess'
-
- entity.search_api_server.add_form:
- path: '/admin/config/search/search-api/add-server'
- defaults:
- _entity_form: 'search_api_server.default'
- requirements:
- _entity_create_access: 'search_api_server'
-
- entity.search_api_server.canonical:
- path: '/admin/config/search/search-api/server/{search_api_server}'
- defaults:
- _controller: '\Drupal\search_api\Controller\ServerController::page'
- _title_callback: '\Drupal\search_api\Controller\ServerController::pageTitle'
- _title: "View"
- requirements:
- _entity_access: 'search_api_server.view'
- options:
- parameters:
- search_api_server:
- with_config_overrides: TRUE
-
- entity.search_api_server.edit_form:
- path: '/admin/config/search/search-api/server/{search_api_server}/edit'
- defaults:
- _entity_form: 'search_api_server.edit'
- requirements:
- _entity_access: 'search_api_server.edit'
-
- entity.search_api_server.delete_form:
- path: '/admin/config/search/search-api/server/{search_api_server}/delete'
- defaults:
- _entity_form: 'search_api_server.delete'
- requirements:
- _entity_access: 'search_api_server.delete'
- options:
- parameters:
- search_api_server:
- with_config_overrides: TRUE
-
- entity.search_api_server.enable:
- path: '/admin/config/search/search-api/server/{search_api_server}/enable'
- defaults:
- _controller: 'Drupal\search_api\Controller\ServerController::serverBypassEnable'
- requirements:
- _entity_access: 'search_api_server.enable'
- _csrf_token: 'TRUE'
-
- entity.search_api_server.disable:
- path: '/admin/config/search/search-api/server/{search_api_server}/disable'
- defaults:
- _entity_form: 'search_api_server.disable'
- requirements:
- _entity_access: 'search_api_server.disable'
-
- entity.search_api_server.clear:
- path: '/admin/config/search/search-api/server/{search_api_server}/clear'
- defaults:
- _entity_form: 'search_api_server.clear'
- requirements:
- _entity_access: 'search_api_server.clear'
- options:
- parameters:
- search_api_server:
- with_config_overrides: TRUE
-
- entity.search_api_index.add_form:
- path: '/admin/config/search/search-api/add-index'
- defaults:
- _entity_form: 'search_api_index.default'
- requirements:
- _entity_create_access: 'search_api_index'
-
- entity.search_api_index.canonical:
- path: '/admin/config/search/search-api/index/{search_api_index}'
- defaults:
- _controller: '\Drupal\search_api\Controller\IndexController::page'
- _title_callback: '\Drupal\search_api\Controller\IndexController::pageTitle'
- requirements:
- _entity_access: 'search_api_index.view'
- options:
- parameters:
- search_api_index:
- with_config_overrides: TRUE
-
- entity.search_api_index.edit_form:
- path: '/admin/config/search/search-api/index/{search_api_index}/edit'
- defaults:
- _entity_form: 'search_api_index.edit'
- requirements:
- _entity_access: 'search_api_index.edit'
-
- entity.search_api_index.delete_form:
- path: '/admin/config/search/search-api/index/{search_api_index}/delete'
- defaults:
- _entity_form: 'search_api_index.delete'
- requirements:
- _entity_access: 'search_api_index.delete'
- options:
- parameters:
- search_api_index:
- with_config_overrides: TRUE
-
- entity.search_api_index.enable:
- path: '/admin/config/search/search-api/index/{search_api_index}/enable'
- defaults:
- _controller: 'Drupal\search_api\Controller\IndexController::indexBypassEnable'
- requirements:
- _entity_access: 'search_api_index.enable'
- _csrf_token: 'TRUE'
-
- entity.search_api_index.disable:
- path: '/admin/config/search/search-api/index/{search_api_index}/disable'
- defaults:
- _entity_form: 'search_api_index.disable'
- requirements:
- _entity_access: 'search_api_index.disable'
-
- entity.search_api_index.fields:
- path: '/admin/config/search/search-api/index/{search_api_index}/fields'
- options:
- parameters:
- search_api_index:
- tempstore: TRUE
- type: 'entity:search_api_index'
- defaults:
- _entity_form: 'search_api_index.fields'
- requirements:
- _entity_access: 'search_api_index.fields'
-
- entity.search_api_index.add_fields:
- path: '/admin/config/search/search-api/index/{search_api_index}/fields/add/nojs'
- options:
- parameters:
- search_api_index:
- tempstore: TRUE
- type: 'entity:search_api_index'
- defaults:
- _entity_form: 'search_api_index.add_fields'
- requirements:
- _entity_access: 'search_api_index.fields'
-
- entity.search_api_index.add_fields_ajax:
- path: '/admin/config/search/search-api/index/{search_api_index}/fields/add/ajax'
- options:
- parameters:
- search_api_index:
- tempstore: TRUE
- type: 'entity:search_api_index'
- defaults:
- _entity_form: 'search_api_index.add_fields'
- requirements:
- _entity_access: 'search_api_index.fields'
-
- entity.search_api_index.field_config:
- path: '/admin/config/search/search-api/index/{search_api_index}/fields/edit/{field_id}'
- options:
- parameters:
- search_api_index:
- tempstore: TRUE
- type: 'entity:search_api_index'
- defaults:
- _title: 'Edit field'
- _entity_form: 'search_api_index.field_config'
- requirements:
- _entity_access: 'search_api_index.fields'
-
- entity.search_api_index.remove_field:
- path: '/admin/config/search/search-api/index/{search_api_index}/fields/remove/{field_id}'
- options:
- parameters:
- search_api_index:
- tempstore: TRUE
- type: 'entity:search_api_index'
- defaults:
- _controller: 'Drupal\search_api\Controller\IndexController::removeField'
- requirements:
- _entity_access: 'search_api_index.fields'
- _csrf_token: 'TRUE'
-
- entity.search_api_index.break_lock_form:
- path: '/admin/config/search/search-api/index/{search_api_index}/fields/break-lock'
- defaults:
- _entity_form: 'search_api_index.break_lock'
- _title: 'Break lock'
- requirements:
- _entity_access: 'search_api_index.break-lock'
-
- entity.search_api_index.processors:
- path: '/admin/config/search/search-api/index/{search_api_index}/processors'
- defaults:
- _entity_form: 'search_api_index.processors'
- requirements:
- _entity_access: 'search_api_index.processors'
-
- entity.search_api_index.reindex:
- path: '/admin/config/search/search-api/index/{search_api_index}/reindex'
- defaults:
- _entity_form: 'search_api_index.reindex'
- requirements:
- _entity_access: 'search_api_index.reindex'
- options:
- parameters:
- search_api_index:
- with_config_overrides: TRUE
-
- entity.search_api_index.clear:
- path: '/admin/config/search/search-api/index/{search_api_index}/clear'
- defaults:
- _entity_form: 'search_api_index.clear'
- requirements:
- _entity_access: 'search_api_index.clear'
- options:
- parameters:
- search_api_index:
- with_config_overrides: TRUE
-
- entity.search_api_index.rebuild_tracker:
- path: '/admin/config/search/search-api/index/{search_api_index}/rebuild-tracker'
- defaults:
- _entity_form: 'search_api_index.rebuild_tracker'
- requirements:
- _entity_access: 'search_api_index.rebuild_tracker'
- options:
- parameters:
- search_api_index:
- with_config_overrides: TRUE