Search for image

  1. Search 7.x for image
  2. Search 9.5.x for image
  3. Search 8.9.x for image
  4. Search 10.3.x for image
  5. Other projects

Exact matches

These are exact matches according to your search
Title Object type File name Summary
Image class core/modules/media/src/Plugin/media/Source/Image.php Image entity media source.
Image class core/modules/ckeditor5/src/Plugin/CKEditor5Plugin/Image.php CKEditor 5 Image plugin.
Image class core/lib/Drupal/Core/Image/Image.php Defines an image object to represent an image file.
Image class core/lib/Drupal/Component/Utility/Image.php Provides helpers to operate on images.

All search results

Title Object type File name Summary
Image::createSourceField function core/modules/media/src/Plugin/media/Source/Image.php Creates the source field definition for a type.
Image::crop function core/lib/Drupal/Core/Image/Image.php Crops an image to a rectangle specified by the given dimensions.
Image::defaultConfiguration function core/modules/ckeditor5/src/Plugin/CKEditor5Plugin/Image.php This returns an empty array as image upload config is stored out of band.
Image::desaturate function core/lib/Drupal/Core/Image/Image.php Converts an image to grayscale.
Image::getDynamicPluginConfig function core/modules/ckeditor5/src/Plugin/CKEditor5Plugin/Image.php Allows a plugin to modify its static configuration.
Image::getFileSize function core/lib/Drupal/Core/Image/Image.php Returns the size of the image file.
Image::getHeight function core/lib/Drupal/Core/Image/Image.php Returns the height of the image.
Image::getKeywordOffset function core/lib/Drupal/Component/Utility/Image.php Returns the offset in pixels from the anchor.
Image::getMetadata function core/modules/media/src/Plugin/media/Source/Image.php Gets the value for a metadata attribute for a given media item.
Image::getMetadataAttributes function core/modules/media/src/Plugin/media/Source/Image.php Gets a list of metadata attributes provided by this plugin.
Image::getMimeType function core/lib/Drupal/Core/Image/Image.php Returns the MIME type of the image file.
Image::getSource function core/lib/Drupal/Core/Image/Image.php Retrieves the source path of the image file.
Image::getToolkit function core/lib/Drupal/Core/Image/Image.php Returns the image toolkit used for this image file.
Image::getToolkitId function core/lib/Drupal/Core/Image/Image.php Returns the ID of the image toolkit used for this image file.
Image::getWidth function core/lib/Drupal/Core/Image/Image.php Returns the width of the image.
Image::isValid function core/lib/Drupal/Core/Image/Image.php Checks if the image is valid.
Image::METADATA_ATTRIBUTE_HEIGHT constant core/modules/media/src/Plugin/media/Source/Image.php Key for "image height" metadata attribute.
Image::METADATA_ATTRIBUTE_WIDTH constant core/modules/media/src/Plugin/media/Source/Image.php Key for "image width" metadata attribute.
Image::prepareViewDisplay function core/modules/media/src/Plugin/media/Source/Image.php Prepares the media type fields for this source in the view display.
Image::resize function core/lib/Drupal/Core/Image/Image.php Resizes an image to the given dimensions (ignoring aspect ratio).
Image::rotate function core/lib/Drupal/Core/Image/Image.php Rotates an image by the given number of degrees.
Image::save function core/lib/Drupal/Core/Image/Image.php Closes the image and saves the changes to a file.
Image::scale function core/lib/Drupal/Core/Image/Image.php Scales an image while maintaining aspect ratio.
Image::scaleAndCrop function core/lib/Drupal/Core/Image/Image.php Scales an image to the exact width and height given.
Image::scaleDimensions function core/lib/Drupal/Component/Utility/Image.php Scales image dimensions while maintaining aspect ratio.
Image::submitConfigurationForm function core/modules/ckeditor5/src/Plugin/CKEditor5Plugin/Image.php
Image::validateConfigurationForm function core/modules/ckeditor5/src/Plugin/CKEditor5Plugin/Image.php
Image::__construct function core/modules/media/src/Plugin/media/Source/Image.php Constructs a new class instance.
Image::__construct function core/lib/Drupal/Core/Image/Image.php Constructs a new Image object.
ImageAdminStylesTest class core/modules/image/tests/src/FunctionalJavascript/ImageAdminStylesTest.php Tests creation, deletion, and editing of image styles and effects.
ImageAdminStylesTest class core/modules/image/tests/src/Functional/ImageAdminStylesTest.php Tests creation, deletion, and editing of image styles and effects.
ImageAdminStylesTest.php file core/modules/image/tests/src/FunctionalJavascript/ImageAdminStylesTest.php
ImageAdminStylesTest.php file core/modules/image/tests/src/Functional/ImageAdminStylesTest.php
ImageAdminStylesTest::$defaultTheme property core/modules/image/tests/src/FunctionalJavascript/ImageAdminStylesTest.php The theme to install as the default for testing.
ImageAdminStylesTest::$defaultTheme property core/modules/image/tests/src/Functional/ImageAdminStylesTest.php The theme to install as the default for testing.
ImageAdminStylesTest::createSampleImage function core/modules/image/tests/src/Functional/ImageAdminStylesTest.php Given an image style, generate an image.
ImageAdminStylesTest::getImageCount function core/modules/image/tests/src/Functional/ImageAdminStylesTest.php Count the number of images currently create for a style.
ImageAdminStylesTest::testAjaxEnabledEffectForm function core/modules/image/tests/src/FunctionalJavascript/ImageAdminStylesTest.php Tests editing Ajax-enabled image effect forms.
ImageAdminStylesTest::testConfigImport function core/modules/image/tests/src/Functional/ImageAdminStylesTest.php Tests image style configuration import that does a delete.
ImageAdminStylesTest::testEditEffect function core/modules/image/tests/src/Functional/ImageAdminStylesTest.php Verifies that editing an image effect does not cause it to be duplicated.
ImageAdminStylesTest::testFlushUserInterface function core/modules/image/tests/src/Functional/ImageAdminStylesTest.php Tests flush user interface.
ImageAdminStylesTest::testImageStyleAccess function core/modules/image/tests/src/Functional/ImageAdminStylesTest.php Tests access for the image style listing.
ImageAdminStylesTest::testNumericStyleName function core/modules/image/tests/src/Functional/ImageAdminStylesTest.php Tests creating an image style with a numeric name.
ImageAdminStylesTest::testPreviewImageShowInPrivateScheme function core/modules/image/tests/src/Functional/ImageAdminStylesTest.php Tests the display of preview images using a private scheme.
ImageAdminStylesTest::testStyle function core/modules/image/tests/src/Functional/ImageAdminStylesTest.php General test to add a style, add/remove/edit effects to it, then delete it.
ImageAdminStylesTest::testStyleReplacement function core/modules/image/tests/src/Functional/ImageAdminStylesTest.php Tests deleting a style and choosing a replacement style.
ImageButton class core/lib/Drupal/Core/Render/Element/ImageButton.php Provides a form element for a submit button with an image.
ImageButton.php file core/lib/Drupal/Core/Render/Element/ImageButton.php
ImageButton::getInfo function core/lib/Drupal/Core/Render/Element/ImageButton.php Returns the element properties for this element.
ImageButton::preRenderButton function core/lib/Drupal/Core/Render/Element/ImageButton.php Prepares a #type 'button' render element for input.html.twig.

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