Search for all

  1. Search 7.x for all
  2. Search 9.5.x for all
  3. Search 10.3.x for all
  4. Search 11.x for all
  5. Other projects
Title Object type File name Summary
Image::getAttachments function core/modules/image/src/Plugin/InPlaceEditor/Image.php Returns the attachments for this editor.
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::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::isCompatible function core/modules/image/src/Plugin/InPlaceEditor/Image.php Checks whether this in-place editor is compatible with a given field.
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::__construct function core/lib/Drupal/Core/Image/Image.php Constructs a new Image object.
Image::__construct function core/modules/media/src/Plugin/media/Source/Image.php Constructs a new class instance.
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 Test 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 Test creating an image style with a numeric name and ensuring it can be
applied to an image.
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 Test 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.
ImageButton::valueCallback function core/lib/Drupal/Core/Render/Element/ImageButton.php Determines how user input is mapped to an element's #value property.
ImageCacheActions class core/modules/image/src/Plugin/migrate/process/d6/ImageCacheActions.php Plugin annotation

@MigrateProcessPlugin(
id = "d6_imagecache_actions"
)
ImageCacheActions.php file core/modules/image/src/Plugin/migrate/process/d6/ImageCacheActions.php
ImageCacheActions::transform function core/modules/image/src/Plugin/migrate/process/d6/ImageCacheActions.php Performs the associated process.
ImageCachePreset class core/modules/image/src/Plugin/migrate/source/d6/ImageCachePreset.php Drupal 6 imagecache presets source from database.
ImageCachePreset.php file core/modules/image/src/Plugin/migrate/source/d6/ImageCachePreset.php
ImageCachePreset::fields function core/modules/image/src/Plugin/migrate/source/d6/ImageCachePreset.php Returns available fields on the source.

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