service image.factory in Drupal 8
Same name and namespace in other branches
- 9 core/core.services.yml \image.factory
Class
Drupal\Core\Image\ImageFactory19 string references to image.factory
- 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.
- Image::create in core/
modules/ media/ src/ Plugin/ media/ Source/ Image.php - Creates an instance of the plugin.
- ImageDimensionsTest::testImageDimensions in core/
modules/ image/ tests/ src/ Functional/ ImageDimensionsTest.php - Test styled image dimensions cumulatively.
- ImageFieldValidateTest::testResolution in core/
modules/ image/ tests/ src/ Functional/ ImageFieldValidateTest.php - Test min/max resolution settings.
File
- core/
core.services.yml - core/core.services.yml
View source
- class: Drupal\Core\Image\ImageFactory
- arguments:
- - '@image.toolkit.manager'