"Fossies" - the Fresh Open Source Software Archive

Member "drupal-8.9.10/core/modules/rest/rest.routing.yml" (26 Nov 2020, 318 Bytes) of package /linux/www/drupal-8.9.10.tar.gz:

As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) Ansible YAML source code syntax highlighting (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

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