image.factory
Same name and namespace in other branches
- 11.x core/core.services.yml \image.factory
- 10 core/core.services.yml \image.factory
- 9 core/core.services.yml \image.factory
- 8.9.x core/core.services.yml \image.factory
Class
Drupal\Core\Image\ImageFactory14 string references to image.factory
- FileImageDimensionsConstraintValidator::create in core/
modules/ file/ src/ Plugin/ Validation/ Constraint/ FileImageDimensionsConstraintValidator.php - Instantiates a new instance of this class.
- FileIsImageConstraintValidator::create in core/
modules/ file/ src/ Plugin/ Validation/ Constraint/ FileIsImageConstraintValidator.php - Instantiates a new instance of this class.
- GdToolkitImageManipulationTestBase::setUp in core/
tests/ Drupal/ KernelTests/ Core/ Image/ GdToolkitImageManipulationTestBase.php - GdToolkitPngImageManipulationTest::testIncorrectIccpSrgbProfile in core/
tests/ Drupal/ KernelTests/ Core/ Image/ GdToolkitPngImageManipulationTest.php - Tests that GD doesn't trigger warnings for iCCP sRGB profiles.
- ImageDimensionsTest::testImageDimensions in core/
modules/ image/ tests/ src/ Functional/ ImageDimensionsTest.php - Tests styled image dimensions cumulatively.
File
-
core/
core.services.yml
View source
- class: Drupal\Core\Image\ImageFactory
- arguments:
- - '@image.toolkit.manager'
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.