summaryrefslogtreecommitdiffstats
path: root/core/modules/image/image.routing.yml
blob: ffeed861a2a95416e2d9a1871ed36f5ec337482b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
image.style_add:
  path: '/admin/config/media/image-styles/add'
  defaults:
    _entity_form: image_style.add
    _title: 'Add image style'
  requirements:
    _permission: 'administer image styles'

entity.image_style.edit_form:
  path: '/admin/config/media/image-styles/manage/{image_style}'
  defaults:
    _entity_form: image_style.edit
    _title: 'Edit style'
  requirements:
    _permission: 'administer image styles'

entity.image_style.delete_form:
  path: '/admin/config/media/image-styles/manage/{image_style}/delete'
  defaults:
    _entity_form: 'image_style.delete'
    _title: 'Delete'
  requirements:
    _permission: 'administer image styles'

entity.image_style.flush_form:
  path: '/admin/config/media/image-styles/manage/{image_style}/flush'
  defaults:
    _entity_form: 'image_style.flush'
    _title: 'Flush'
  requirements:
    _permission: 'administer image styles'

image.effect_delete:
  path: '/admin/config/media/image-styles/manage/{image_style}/effects/{image_effect}/delete'
  defaults:
    _form: '\Drupal\image\Form\ImageEffectDeleteForm'
    _title: 'Delete image effect'
  requirements:
    _permission: 'administer image styles'

entity.image_style.collection:
  path: '/admin/config/media/image-styles'
  defaults:
    _entity_list: 'image_style'
    _title: 'Image styles'
  requirements:
    _permission: 'administer image styles'

image.style_private:
  path: '/system/files/styles/{image_style}/{scheme}'
  defaults:
    _controller:  '\Drupal\image\Controller\ImageStyleDownloadController::deliver'
  requirements:
    _access: 'TRUE'

image.effect_add_form:
  path: '/admin/config/media/image-styles/manage/{image_style}/add/{image_effect}'
  defaults:
    _form: '\Drupal\image\Form\ImageEffectAddForm'
    _title: 'Add image effect'
  requirements:
    _permission: 'administer image styles'

image.effect_edit_form:
  path: '/admin/config/media/image-styles/manage/{image_style}/effects/{image_effect}'
  defaults:
    _form: '\Drupal\image\Form\ImageEffectEditForm'
    _title: 'Edit image effect'
  requirements:
    _permission: 'administer image styles'

route_callbacks:
  - '\Drupal\image\Routing\ImageStyleRoutes::routes'