service image.factory in Drupal 10
Same name and namespace in other branches
- 8 core/core.services.yml \image.factory
- 9 core/core.services.yml \image.factory
Class
Drupal\Core\Image\ImageFactory29 string references to image.factory
- EditorFileReference::create in core/
modules/ editor/ src/ Plugin/ Filter/ EditorFileReference.php - EditorUploadImageScaleTest::getTestImageInfo in core/
modules/ editor/ tests/ src/ Functional/ EditorUploadImageScaleTest.php - Gets the dimensions of an uploaded image.
- EditorUploadImageScaleTest::uploadImage in core/
modules/ editor/ tests/ src/ Functional/ EditorUploadImageScaleTest.php - Uploads an image via the editor dialog.
- file_validate_image_resolution in core/
modules/ file/ file.module - Verifies that image dimensions are within the specified maximum and minimum.
- file_validate_is_image in core/
modules/ file/ file.module - Checks that the file is recognized as a valid image.
File
- core/
core.services.yml - core/core.services.yml
View source
- class: Drupal\Core\Image\ImageFactory
- arguments:
- - '@image.toolkit.manager'