image.routing.yml

Same filename in other branches
  1. 9 core/modules/image/image.routing.yml
  2. 10 core/modules/image/image.routing.yml
  3. 11.x core/modules/image/image.routing.yml
core/modules/image/image.routing.yml
6 string references to YAML keys in image.routing.yml
DenyPrivateImageStyleDownload::check in core/modules/image/src/PageCache/DenyPrivateImageStyleDownload.php
Determines whether it is save to store a page in the cache.
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. _permission: 'administer image styles'
  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. requirements:
  48. _access: 'TRUE'
  49. image.effect_add_form:
  50. path: '/admin/config/media/image-styles/manage/{image_style}/add/{image_effect}'
  51. defaults:
  52. _form: '\Drupal\image\Form\ImageEffectAddForm'
  53. _title: 'Add image effect'
  54. requirements:
  55. _permission: 'administer image styles'
  56. image.effect_edit_form:
  57. path: '/admin/config/media/image-styles/manage/{image_style}/effects/{image_effect}'
  58. defaults:
  59. _form: '\Drupal\image\Form\ImageEffectEditForm'
  60. _title: 'Edit image effect'
  61. requirements:
  62. _permission: 'administer image styles'
  63. route_callbacks:
  64. - '\Drupal\image\Routing\ImageStyleRoutes::routes'
  65. image.upload:
  66. path: '/quickedit/image/upload/{entity_type}/{entity}/{field_name}/{langcode}/{view_mode_id}'
  67. defaults:
  68. _controller: '\Drupal\image\Controller\QuickEditImageController::upload'
  69. options:
  70. parameters:
  71. entity:
  72. type: entity:{entity_type}
  73. requirements:
  74. _permission: 'access in-place editing'
  75. _access_quickedit_entity_field: 'TRUE'
  76. _method: 'POST'
  77. image.info:
  78. path: '/quickedit/image/info/{entity_type}/{entity}/{field_name}/{langcode}/{view_mode_id}'
  79. defaults:
  80. _controller: '\Drupal\image\Controller\QuickEditImageController::getInfo'
  81. options:
  82. parameters:
  83. entity:
  84. type: entity:{entity_type}
  85. requirements:
  86. _permission: 'access in-place editing'
  87. _access_quickedit_entity_field: 'TRUE'
  88. _method: 'GET'

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