Search for %s

  1. Search 7.x for %s
  2. Search 9.5.x for %s
  3. Search 8.9.x for %s
  4. Search 10.3.x for %s
  5. Search 11.x for %s
  6. Other projects
Title Object type File name Summary
ImageInterface::getFileSize function core/lib/Drupal/Core/Image/ImageInterface.php Returns the size of the image file.
ImageInterface::getSource function core/lib/Drupal/Core/Image/ImageInterface.php Retrieves the source path of the image file.
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::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::defaultFieldSettings function core/modules/image/src/Plugin/Field/FieldType/ImageItem.php Defines the field-level settings for this plugin.
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::storageSettingsSummary function core/modules/image/src/Plugin/Field/FieldType/ImageItem.php Returns a short summary of the field's storage-level settings.
ImageItem::validateResolution function core/modules/image/src/Plugin/Field/FieldType/ImageItem.php Element validate function for dimensions 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 install.
ImageItemTest::setUp function core/modules/image/tests/src/Kernel/ImageItemTest.php Set the default field storage backend for fields created during tests.
ImageItemTest::testDisplayDefaultValue function core/modules/image/tests/src/Kernel/ImageItemTest.php Tests display_default.
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.
ImageItemTest::testImageItemSampleValueGeneration function core/modules/image/tests/src/Kernel/ImageItemTest.php Tests generateSampleItems() method under different dimensions.
ImageItemTest::testImageUriDirectories function core/modules/image/tests/src/Kernel/ImageItemTest.php Tests image URIs for empty and custom directories.
ImageItemTest::validateImageUriForDirectory function core/modules/image/tests/src/Kernel/ImageItemTest.php Validates the image file URI generated for a given file directory.
ImageLoadingAttributeTest class core/modules/system/tests/src/Kernel/Theme/ImageLoadingAttributeTest.php Tests lazy loading for images.
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.php file core/modules/system/tests/src/Kernel/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 install.
ImageLoadingAttributeTest::$modules property core/modules/system/tests/src/Kernel/Theme/ImageLoadingAttributeTest.php
ImageLoadingAttributeTest::testImageLoadingAttribute function core/modules/system/tests/src/Kernel/Theme/ImageLoadingAttributeTest.php Tests that loading attribute is enabled for images.
ImageLoadingAttributeTest::testImageLoadingAttribute function core/modules/system/tests/src/Functional/Theme/ImageLoadingAttributeTest.php Tests that loading attribute is enabled for images.
ImageModuleTestHooks class core/modules/image/tests/modules/image_module_test/src/Hook/ImageModuleTestHooks.php Hook implementations for image_module_test.
ImageModuleTestHooks.php file core/modules/image/tests/modules/image_module_test/src/Hook/ImageModuleTestHooks.php
ImageModuleTestHooks::fileDownload function core/modules/image/tests/modules/image_module_test/src/Hook/ImageModuleTestHooks.php Implements hook_file_download().
ImageModuleTestHooks::imageEffectInfoAlter function core/modules/image/tests/modules/image_module_test/src/Hook/ImageModuleTestHooks.php Implements hook_image_effect_info_alter().
ImageModuleTestHooks::imageStyleFlush function core/modules/image/tests/modules/image_module_test/src/Hook/ImageModuleTestHooks.php Implements hook_image_style_flush().
ImageModuleTestHooks::imageStylePresave function core/modules/image/tests/modules/image_module_test/src/Hook/ImageModuleTestHooks.php Implements hook_ENTITY_TYPE_presave().
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
ImageOnTranslatedEntityTest::$defaultTheme property core/modules/image/tests/src/Functional/ImageOnTranslatedEntityTest.php The theme to install as the default for testing.
ImageOnTranslatedEntityTest::$fieldName property core/modules/image/tests/src/Functional/ImageOnTranslatedEntityTest.php The name of the image field used in the test.
ImageOnTranslatedEntityTest::$modules property core/modules/image/tests/src/Functional/ImageOnTranslatedEntityTest.php Modules to install.

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