Files
D8_rplf/core/modules/rest/rest.routing.yml
T
2018-04-23 21:08:22 +02:00

10 lines
318 B
YAML

# @deprecated This route is deprecated, use the system.csrftoken route from the
# system module instead.
# @todo Remove this route in Drupal 9.0.0.
rest.csrftoken:
path: '/rest/session/token'
defaults:
_controller: '\Drupal\system\Controller\CsrfTokenController::csrfToken'
requirements:
_access: 'TRUE'