select2.routing.yml in Select 2 8
1 string reference to YAML keys in select2.routing.yml
- Select2::setAutocompleteRouteParameters in src/
Element/ Select2.php - Sets the autocomplete route parameters.
File
select2.routing.ymlView source
- select2.entity_autocomplete:
- path: '/select2_autocomplete/{target_type}/{selection_handler}/{selection_settings_key}'
- defaults:
- _controller: '\Drupal\select2\Controller\EntityAutocompleteController::handleAutocomplete'
- requirements:
- # We are calculating a hash for every request in the widget.
- _access: 'TRUE'