image.routing.yml
Same filename in other branches
7 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 - 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.
File
-
core/
modules/ image/ image.routing.yml
View source
- 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:
- _entity_access: 'image_style.delete'
-
- 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'
- required_derivative_scheme: 'private'
- 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'
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.