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'
