29 string references to image.factory in Drupal 10
- 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.
- 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.
- ImageFieldValidateTest::testResolution in core/
modules/ image/ tests/ src/ Functional/ ImageFieldValidateTest.php - Tests min/max resolution settings.
- ImageFieldWidgetMultipleTest::testWidgetElementMultipleUploads in core/
modules/ image/ tests/ src/ FunctionalJavascript/ ImageFieldWidgetMultipleTest.php - Tests image widget element support multiple upload correctly.
- ImageItem::preSave in core/
modules/ image/ src/ Plugin/ Field/ FieldType/ ImageItem.php - Defines custom presave behavior for field values.
- ImageItemTest::setUp in core/
modules/ image/ tests/ src/ Kernel/ ImageItemTest.php - ImageStyle::getImageFactory in core/
modules/ image/ src/ Entity/ ImageStyle.php - Returns the image factory.
- ImageStyleDownloadController::create in core/
modules/ image/ src/ Controller/ ImageStyleDownloadController.php - ImageStylesPathAndUrlTest::doImageStyleUrlAndPathTests in core/
modules/ image/ tests/ src/ Functional/ ImageStylesPathAndUrlTest.php - Tests building an image style URL.
- ImageThemeFunctionTest::setUp in core/
modules/ image/ tests/ src/ Kernel/ ImageThemeFunctionTest.php - ImageWidget::process in core/
modules/ image/ src/ Plugin/ Field/ FieldWidget/ ImageWidget.php - Form API callback: Processes an image_image field element.
- ImageWidget::__construct in core/
modules/ image/ src/ Plugin/ Field/ FieldWidget/ ImageWidget.php - Constructs an ImageWidget object.
- image_entity_presave in core/
modules/ image/ image.module - Implements hook_entity_presave().
- image_file_download in core/
modules/ image/ image.module - Implements hook_file_download().
- OEmbedSourceTest::testThumbnailUri in core/
modules/ media/ tests/ src/ Kernel/ OEmbedSourceTest.php - Tests that remote thumbnails are downloaded correctly.
- QuickEditImageController::create in core/
modules/ quickedit/ src/ Controller/ QuickEditImageController.php - Instantiates a new instance of this class.
- QuickEditImageControllerTest::testInvalidUpload in core/
modules/ quickedit/ tests/ src/ Functional/ QuickEditImageControllerTest.php - Tests that uploading an invalid image does not work.
- QuickEditImageControllerTest::testValidImageUpload in core/
modules/ quickedit/ tests/ src/ Functional/ QuickEditImageControllerTest.php - Tests that uploading a valid image works.
- QuickEditImageTest::testImageInPlaceEditor in core/
modules/ quickedit/ tests/ src/ FunctionalJavascript/ QuickEditImageTest.php - Tests that quick editor works correctly with images.
- ResponsiveImageFieldDisplayTest::doTestResponsiveImageFieldFormatters in core/
modules/ responsive_image/ tests/ src/ Functional/ ResponsiveImageFieldDisplayTest.php - Tests responsive image formatters on node display.
- template_preprocess_image_style_preview in core/
modules/ image/ image.admin.inc - Prepares variables for image style preview templates.
- ToolkitTestTrait::getImage in core/
tests/ Drupal/ Tests/ Traits/ Core/ Image/ ToolkitTestTrait.php - Sets up an image with the custom toolkit.
- ValidatorTest::testFileValidateImageResolution in core/
modules/ file/ tests/ src/ Kernel/ ValidatorTest.php - This ensures the resolution of a specific file is within bounds.
- _responsive_image_build_source_attributes in core/
modules/ responsive_image/ responsive_image.module - Helper function for template_preprocess_responsive_image().