Files
edlp_d8/web/modules/custom/edlp_search/edlp_search.routing.yml
T
bachir 9da6cf9927 reinstalled all contribs with composer
need to run :
drush ev 'drupal_flush_all_caches();'
drush cr
and restart nginx and php-fpm before loading the website
2019-04-30 19:27:47 +02:00

50 lines
1.5 KiB
YAML

edlp_search.edlp_search_controller_searchForm:
path: '/search'
defaults:
_controller: '\Drupal\edlp_search\Controller\EdlpSearchController::searchForm'
_title: 'Search Form'
requirements:
_permission: 'access content'
edlp_search.edlp_search_controller_searchForm_ajax:
path: '/search/ajax'
defaults:
_controller: '\Drupal\edlp_search\Controller\EdlpSearchController::searchFormJson'
_title: 'Search Form'
requirements:
_permission: 'access content'
edlp_search.edlp_search_controller_autocomplete:
path: '/edlp_search/searchform/autocomplete'
defaults:
_controller: '\Drupal\edlp_search\Controller\EdlpSearchController::autocomplete'
_title: 'Autocomplete'
requirements:
_permission: 'access content'
edlp_search.edlp_search_controller_search_results:
path: '/edlp_search/searchresults'
defaults:
_controller: '\Drupal\edlp_search\Controller\EdlpSearchController::searchResults'
_title: 'Search Results'
requirements:
_permission: 'access content'
edlp_search.edlp_search_controller_search_results_ajax:
path: '/edlp_search/searchresults/ajax'
defaults:
_controller: '\Drupal\edlp_search\Controller\EdlpSearchController::searchResultsJson'
_title: 'Search Results'
requirements:
_permission: 'access content'
edlp_search.edlp_search_form:
path: '/edlp_search/form/search'
defaults:
_form: '\Drupal\edlp_search\Form\EdlpSearchForm'
_title: 'EdlpSearchForm'
requirements:
_access: 'TRUE'