custom_action_links-1.0.x-dev/custom_action_links.routing.yml
custom_action_links.routing.yml
custom_action_links.route_names.autocomplete:
path: '/custom-access-links/routes/{user_token}'
defaults:
_controller: '\Drupal\custom_action_links\Controller\AutocompleteController::handleAutocomplete'
options:
no_cache: TRUE
requirements:
# @todo Access is handled in the controller at the moment. Move to a custom
# access provider so we can cache the responses.
_access: 'TRUE'
_csrf_token: 'TRUE'
