ImageInterface::desaturate |
function |
core/lib/Drupal/Core/Image/ImageInterface.php |
Converts an image to grayscale. |
ImageInterface::getFileSize |
function |
core/lib/Drupal/Core/Image/ImageInterface.php |
Returns the size of the image file. |
ImageInterface::getHeight |
function |
core/lib/Drupal/Core/Image/ImageInterface.php |
Returns the height of the image. |
ImageInterface::getMimeType |
function |
core/lib/Drupal/Core/Image/ImageInterface.php |
Returns the MIME type of the image file. |
ImageInterface::getSource |
function |
core/lib/Drupal/Core/Image/ImageInterface.php |
Retrieves the source path of the image file. |
ImageInterface::getToolkit |
function |
core/lib/Drupal/Core/Image/ImageInterface.php |
Returns the image toolkit used for this image file. |
ImageInterface::getToolkitId |
function |
core/lib/Drupal/Core/Image/ImageInterface.php |
Returns the ID of the image toolkit used for this image file. |
ImageInterface::getWidth |
function |
core/lib/Drupal/Core/Image/ImageInterface.php |
Returns the width of the image. |
ImageInterface::isValid |
function |
core/lib/Drupal/Core/Image/ImageInterface.php |
Checks if the image is valid. |
ImageInterface::resize |
function |
core/lib/Drupal/Core/Image/ImageInterface.php |
Resizes an image to the given dimensions (ignoring aspect ratio). |
ImageInterface::rotate |
function |
core/lib/Drupal/Core/Image/ImageInterface.php |
Rotates an image by the given number of degrees. |
ImageInterface::save |
function |
core/lib/Drupal/Core/Image/ImageInterface.php |
Closes the image and saves the changes to a file. |
ImageInterface::scale |
function |
core/lib/Drupal/Core/Image/ImageInterface.php |
Scales an image while maintaining aspect ratio. |
ImageInterface::scaleAndCrop |
function |
core/lib/Drupal/Core/Image/ImageInterface.php |
Scales an image to the exact width and height given. |
ImageItem |
class |
core/modules/image/src/Plugin/Field/FieldType/ImageItem.php |
Plugin implementation of the 'image' field type. |
ImageItem.php |
file |
core/modules/image/src/Plugin/Field/FieldType/ImageItem.php |
|
ImageItem::defaultFieldSettings |
function |
core/modules/image/src/Plugin/Field/FieldType/ImageItem.php |
Defines the field-level settings for this plugin. |
ImageItem::defaultImageForm |
function |
core/modules/image/src/Plugin/Field/FieldType/ImageItem.php |
Builds the default_image details element. |
ImageItem::defaultStorageSettings |
function |
core/modules/image/src/Plugin/Field/FieldType/ImageItem.php |
Defines the storage-level settings for this plugin. |
ImageItem::fieldSettingsForm |
function |
core/modules/image/src/Plugin/Field/FieldType/ImageItem.php |
Returns a form for the field-level settings. |
ImageItem::generateSampleValue |
function |
core/modules/image/src/Plugin/Field/FieldType/ImageItem.php |
Generates placeholder field values. |
ImageItem::isDisplayed |
function |
core/modules/image/src/Plugin/Field/FieldType/ImageItem.php |
Determines whether an item should be displayed when rendering the field. |
ImageItem::preSave |
function |
core/modules/image/src/Plugin/Field/FieldType/ImageItem.php |
Defines custom presave behavior for field values. |
ImageItem::propertyDefinitions |
function |
core/modules/image/src/Plugin/Field/FieldType/ImageItem.php |
Defines field item properties. |
ImageItem::schema |
function |
core/modules/image/src/Plugin/Field/FieldType/ImageItem.php |
Returns the schema for the field. |
ImageItem::storageSettingsForm |
function |
core/modules/image/src/Plugin/Field/FieldType/ImageItem.php |
Returns a form for the storage-level settings. |
ImageItem::validateDefaultImageForm |
function |
core/modules/image/src/Plugin/Field/FieldType/ImageItem.php |
Validates the managed_file element for the default Image form. |
ImageItem::validateResolution |
function |
core/modules/image/src/Plugin/Field/FieldType/ImageItem.php |
Element validate function for resolution fields. |
ImageItemTest |
class |
core/modules/image/tests/src/Kernel/ImageItemTest.php |
Tests using entity fields of the image field type. |
ImageItemTest.php |
file |
core/modules/image/tests/src/Kernel/ImageItemTest.php |
|
ImageItemTest::$image |
property |
core/modules/image/tests/src/Kernel/ImageItemTest.php |
Created file entity. |
ImageItemTest::$imageFactory |
property |
core/modules/image/tests/src/Kernel/ImageItemTest.php |
|
ImageItemTest::$modules |
property |
core/modules/image/tests/src/Kernel/ImageItemTest.php |
Modules to enable. |
ImageItemTest::setUp |
function |
core/modules/image/tests/src/Kernel/ImageItemTest.php |
Set the default field storage backend for fields created during tests. |
ImageItemTest::testImageItem |
function |
core/modules/image/tests/src/Kernel/ImageItemTest.php |
Tests using entity fields of the image field type. |
ImageItemTest::testImageItemMalformed |
function |
core/modules/image/tests/src/Kernel/ImageItemTest.php |
Tests a malformed image. |
ImageLazyLoadController |
class |
core/modules/system/tests/modules/image_lazy_load_test/src/Controller/ImageLazyLoadController.php |
The ImageLazyLoadController class. |
ImageLazyLoadController.php |
file |
core/modules/system/tests/modules/image_lazy_load_test/src/Controller/ImageLazyLoadController.php |
|
ImageLazyLoadController::renderImage |
function |
core/modules/system/tests/modules/image_lazy_load_test/src/Controller/ImageLazyLoadController.php |
Render an image using image theme. |
ImageLazyLoadUpdateTest |
class |
core/modules/image/tests/src/Functional/ImageLazyLoadUpdateTest.php |
Tests lazy-load upgrade path. |
ImageLazyLoadUpdateTest.php |
file |
core/modules/image/tests/src/Functional/ImageLazyLoadUpdateTest.php |
|
ImageLazyLoadUpdateTest::setDatabaseDumpFiles |
function |
core/modules/image/tests/src/Functional/ImageLazyLoadUpdateTest.php |
Set database dump files to be used. |
ImageLazyLoadUpdateTest::testUpdate |
function |
core/modules/image/tests/src/Functional/ImageLazyLoadUpdateTest.php |
Test new lazy-load setting upgrade path. |
ImageLoadingAttributeTest |
class |
core/modules/system/tests/src/Functional/Theme/ImageLoadingAttributeTest.php |
Tests lazy loading for images. |
ImageLoadingAttributeTest.php |
file |
core/modules/system/tests/src/Functional/Theme/ImageLoadingAttributeTest.php |
|
ImageLoadingAttributeTest::$defaultTheme |
property |
core/modules/system/tests/src/Functional/Theme/ImageLoadingAttributeTest.php |
The theme to install as the default for testing. |
ImageLoadingAttributeTest::$modules |
property |
core/modules/system/tests/src/Functional/Theme/ImageLoadingAttributeTest.php |
Modules to enable. |
ImageLoadingAttributeTest::testImageLoadingAttribute |
function |
core/modules/system/tests/src/Functional/Theme/ImageLoadingAttributeTest.php |
Tests that loading attribute is enabled for images. |
ImageOnTranslatedEntityTest |
class |
core/modules/image/tests/src/Functional/ImageOnTranslatedEntityTest.php |
Uploads images to translated nodes. |
ImageOnTranslatedEntityTest.php |
file |
core/modules/image/tests/src/Functional/ImageOnTranslatedEntityTest.php |
|