elasticsearch_search_api-1.0.x-dev/modules/elasticsearch_search_api_example/elasticsearch_search_api_example.routing.yml

modules/elasticsearch_search_api_example/elasticsearch_search_api_example.routing.yml
elasticsearch_search_api_example.search:
  path: '/example/search'
  defaults:
    _controller: '\Drupal\elasticsearch_search_api_example\Controller\ExampleSearchController::search'
    _title: 'Example search'
  requirements:
    _permission: 'access content'

elasticsearch_search_api_example.filter:
  path: '/example/search/filter'
  defaults:
    _controller: '\Drupal\elasticsearch_search_api_example\Controller\ExampleSearchController::filter'
    _title: 'Filter'
  requirements:
    _permission: 'access content'

elasticsearch_search_api_example.autocomplete:
  path: '/example/search/autocomplete'
  defaults:
    _controller: '\Drupal\elasticsearch_search_api_example\Controller\ExampleSearchController::handleAutocomplete'
    _format: json
  requirements:
    _permission: 'access content'

Главная | Обратная связь

drupal hosting | друпал хостинг | it patrol .inc