image.routing.yml

Same filename in other branches
  1. 9 core/modules/image/image.routing.yml
  2. 8.9.x core/modules/image/image.routing.yml
  3. 11.x core/modules/image/image.routing.yml
core/modules/image/image.routing.yml
7 string references to YAML keys in image.routing.yml
DenyPrivateImageStyleDownload::check in core/modules/image/src/PageCache/DenyPrivateImageStyleDownload.php
DenyPrivateImageStyleDownloadTest::providerPrivateImageStyleDownloadPolicy in core/modules/image/tests/src/Unit/PageCache/DenyPrivateImageStyleDownloadTest.php
Provides data and expected results for the test method.
ImageFormatter::settingsForm in core/modules/image/src/Plugin/Field/FieldFormatter/ImageFormatter.php
Returns a form to configure settings for the formatter.
ImageStyleEditForm::effectSave in core/modules/image/src/Form/ImageStyleEditForm.php
Submit handler for image effect.
ImageStyleEditForm::form in core/modules/image/src/Form/ImageStyleEditForm.php
Gets the actual form array to be built.

... See full list

File

core/modules/image/image.routing.yml

View source
  1. image.style_add:
  2. path: '/admin/config/media/image-styles/add'
  3. defaults:
  4. _entity_form: image_style.add
  5. _title: 'Add image style'
  6. requirements:
  7. _permission: 'administer image styles'
  8. entity.image_style.edit_form:
  9. path: '/admin/config/media/image-styles/manage/{image_style}'
  10. defaults:
  11. _entity_form: image_style.edit
  12. _title: 'Edit style'
  13. requirements:
  14. _permission: 'administer image styles'
  15. entity.image_style.delete_form:
  16. path: '/admin/config/media/image-styles/manage/{image_style}/delete'
  17. defaults:
  18. _entity_form: 'image_style.delete'
  19. _title: 'Delete'
  20. requirements:
  21. _entity_access: 'image_style.delete'
  22. entity.image_style.flush_form:
  23. path: '/admin/config/media/image-styles/manage/{image_style}/flush'
  24. defaults:
  25. _entity_form: 'image_style.flush'
  26. _title: 'Flush'
  27. requirements:
  28. _permission: 'administer image styles'
  29. image.effect_delete:
  30. path: '/admin/config/media/image-styles/manage/{image_style}/effects/{image_effect}/delete'
  31. defaults:
  32. _form: '\Drupal\image\Form\ImageEffectDeleteForm'
  33. _title: 'Delete image effect'
  34. requirements:
  35. _permission: 'administer image styles'
  36. entity.image_style.collection:
  37. path: '/admin/config/media/image-styles'
  38. defaults:
  39. _entity_list: 'image_style'
  40. _title: 'Image styles'
  41. requirements:
  42. _permission: 'administer image styles'
  43. image.style_private:
  44. path: '/system/files/styles/{image_style}/{scheme}'
  45. defaults:
  46. _controller: '\Drupal\image\Controller\ImageStyleDownloadController::deliver'
  47. required_derivative_scheme: 'private'
  48. requirements:
  49. _access: 'TRUE'
  50. image.effect_add_form:
  51. path: '/admin/config/media/image-styles/manage/{image_style}/add/{image_effect}'
  52. defaults:
  53. _form: '\Drupal\image\Form\ImageEffectAddForm'
  54. _title: 'Add image effect'
  55. requirements:
  56. _permission: 'administer image styles'
  57. image.effect_edit_form:
  58. path: '/admin/config/media/image-styles/manage/{image_style}/effects/{image_effect}'
  59. defaults:
  60. _form: '\Drupal\image\Form\ImageEffectEditForm'
  61. _title: 'Edit image effect'
  62. requirements:
  63. _permission: 'administer image styles'
  64. route_callbacks:
  65. - '\Drupal\image\Routing\ImageStyleRoutes::routes'

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