select2_facets.routing.yml in Select 2 8
modules/select2_facets/select2_facets.routing.yml
1 string reference to YAML keys in select2_facets.routing.yml
- Select2Widget::processFacetAutocomplete in modules/
select2_facets/ src/ Plugin/ facets/ widget/ Select2Widget.php - Set the autocomplete route properties.
File
modules/select2_facets/select2_facets.routing.ymlView source
- select2_facets.facet_autocomplete:
- path: '/select2_facets_autocomplete/{facetsource_id}/{facet_id}/{selection_settings_key}'
- defaults:
- _controller: '\Drupal\select2_facets\Controller\FacetApiAutocompleteController::handleAutocomplete'
- requirements:
- # We are calculating a hash for every request in the widget.
- _access: 'TRUE'