image.factory

Same name and namespace in other branches
  1. 9 core/core.services.yml \image.factory
  2. 8.9.x core/core.services.yml \image.factory
  3. 10 core/core.services.yml \image.factory

Class

Drupal\Core\Image\ImageFactory
17 string references to image.factory
EditorFileReference::create in core/modules/editor/src/Plugin/Filter/EditorFileReference.php
Creates an instance of the plugin.
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.
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
Tests styled image dimensions cumulatively.

... See full list

File

core/core.services.yml

View source
  1. class: Drupal\Core\Image\ImageFactory
  2. arguments:
  3. - '@image.toolkit.manager'

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.