search_api_saved_searches.routing.yml in Search API Saved Searches 8
1 string reference to YAML keys in search_api_saved_searches.routing.yml
- SavedSearchTypeForm::submitForm in src/Form/SavedSearchTypeForm.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…
File
search_api_saved_searches.routing.yml
View source
- entity.search_api_saved_search.canonical:
- path: '/saved-search/{search_api_saved_search}'
- defaults:
- _controller: '\Drupal\search_api_saved_searches\Controller\SavedSearchController::viewSearch'
- requirements:
- _entity_access: 'search_api_saved_search.view'
-
- entity.search_api_saved_search.activate:
- path: '/saved-search/{search_api_saved_search}/activate'
- defaults:
- _controller: '\Drupal\search_api_saved_searches\Controller\SavedSearchController::activateSearch'
- requirements:
- _entity_access: 'search_api_saved_search.activate'
-
- entity.search_api_saved_search.edit_form:
- path: '/saved-search/{search_api_saved_search}/edit'
- defaults:
- _entity_form: 'search_api_saved_search.edit'
- requirements:
- _entity_access: 'search_api_saved_search.edit'
-
- entity.search_api_saved_search.delete_form:
- path: '/saved-search/{search_api_saved_search}/delete'
- defaults:
- _entity_form: 'search_api_saved_search.delete'
- requirements:
- _entity_access: 'search_api_saved_search.delete'
-
- entity.search_api_saved_search_type.collection:
- path: '/admin/config/search/search-api-saved-searches'
- defaults:
- _title: 'Saved searches'
- _entity_list: 'search_api_saved_search_type'
- requirements:
- _permission: 'administer search_api_saved_searches'
-
- entity.search_api_saved_search_type.add_form:
- path: '/admin/config/search/search-api-saved-searches/add-type'
- defaults:
- _entity_form: 'search_api_saved_search_type.default'
- requirements:
- _entity_create_access: 'search_api_saved_search_type'
-
- entity.search_api_saved_search_type.edit_form:
- path: '/admin/config/search/search-api-saved-searches/type/{search_api_saved_search_type}/edit'
- defaults:
- _entity_form: 'search_api_saved_search_type.edit'
- requirements:
- _entity_access: 'search_api_saved_search_type.edit'
-
- entity.search_api_saved_search_type.delete_form:
- path: '/admin/config/search/search-api-saved-searches/type/{search_api_saved_search_type}/delete'
- defaults:
- _entity_form: 'search_api_saved_search_type.delete'
- requirements:
- _entity_access: 'search_api_saved_search_type.delete'