file_test.routing.yml

Same filename in other branches
  1. 9 core/modules/file/tests/file_test/file_test.routing.yml
  2. 8.9.x core/modules/file/tests/file_test/file_test.routing.yml
  3. 11.x core/modules/file/tests/file_test/file_test.routing.yml
core/modules/file/tests/file_test/file_test.routing.yml

File

core/modules/file/tests/file_test/file_test.routing.yml

View source
  1. file.test:
  2. path: '/file-test/upload'
  3. defaults:
  4. _form: '\Drupal\file_test\Form\FileTestForm'
  5. requirements:
  6. _access: 'TRUE'
  7. file.save_upload_from_form_test:
  8. path: '/file-test/save_upload_from_form_test'
  9. defaults:
  10. _form: '\Drupal\file_test\Form\FileTestSaveUploadFromForm'
  11. requirements:
  12. _access: 'TRUE'
  13. file.required_test:
  14. path: '/file-test/upload_required'
  15. defaults:
  16. _form: '\Drupal\file_test\Form\FileRequiredTestForm'
  17. requirements:
  18. _access: 'TRUE'

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.