You are here

service image.factory in Drupal 9

Same name and namespace in other branches
  1. 8 core/core.services.yml \image.factory

Class

Drupal\Core\Image\ImageFactory
21 string references to image.factory
EditorFileReference::create in core/modules/editor/src/Plugin/Filter/EditorFileReference.php
Creates an instance of the plugin.
EditorFileReference::__construct in core/modules/editor/src/Plugin/Filter/EditorFileReference.php
Constructs a \Drupal\editor\Plugin\Filter\EditorFileReference object.
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.

... See full list

File

core/core.services.yml
core/core.services.yml

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