Search for interface

  1. Search 7.x for interface
  2. Search 9.5.x for interface
  3. Search 8.9.x for interface
  4. Search 11.x for interface
  5. Other projects
Title Object type File name Summary
ImageInterface::createNew function core/lib/Drupal/Core/Image/ImageInterface.php Prepares a new image, without loading it from a file.
ImageInterface::crop function core/lib/Drupal/Core/Image/ImageInterface.php Crops an image to a rectangle specified by the given dimensions.
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.
ImageStyleInterface interface core/modules/image/src/ImageStyleInterface.php Provides an interface defining an image style entity.
ImageStyleInterface.php file core/modules/image/src/ImageStyleInterface.php
ImageStyleInterface::addImageEffect function core/modules/image/src/ImageStyleInterface.php Saves an image effect for this style.
ImageStyleInterface::buildUri function core/modules/image/src/ImageStyleInterface.php Returns the URI of this image when using this style.
ImageStyleInterface::buildUrl function core/modules/image/src/ImageStyleInterface.php Returns the URL of this image derivative for an original image path or URI.
ImageStyleInterface::createDerivative function core/modules/image/src/ImageStyleInterface.php Creates a new image derivative based on this image style.
ImageStyleInterface::deleteImageEffect function core/modules/image/src/ImageStyleInterface.php Deletes an image effect from this style.
ImageStyleInterface::flush function core/modules/image/src/ImageStyleInterface.php Flushes cached media for this style.
ImageStyleInterface::getDerivativeExtension function core/modules/image/src/ImageStyleInterface.php Determines the extension of the derivative without generating it.
ImageStyleInterface::getEffect function core/modules/image/src/ImageStyleInterface.php Returns a specific image effect.
ImageStyleInterface::getEffects function core/modules/image/src/ImageStyleInterface.php Returns the image effects for this style.
ImageStyleInterface::getName function core/modules/image/src/ImageStyleInterface.php Returns the image style.
ImageStyleInterface::getPathToken function core/modules/image/src/ImageStyleInterface.php Generates a token to protect an image style derivative.
ImageStyleInterface::setName function core/modules/image/src/ImageStyleInterface.php Sets the name of the image style.
ImageStyleInterface::supportsUri function core/modules/image/src/ImageStyleInterface.php Determines if this style can be applied to a given image.
ImageStyleInterface::transformDimensions function core/modules/image/src/ImageStyleInterface.php Determines the dimensions of this image style.
ImageStyleStorageInterface interface core/modules/image/src/ImageStyleStorageInterface.php Interface for storage controller for "image style" configuration entities.
ImageStyleStorageInterface.php file core/modules/image/src/ImageStyleStorageInterface.php
ImageStyleStorageInterface::clearReplacementId function core/modules/image/src/ImageStyleStorageInterface.php Clears a replacement ID from the storage.
ImageStyleStorageInterface::getReplacementId function core/modules/image/src/ImageStyleStorageInterface.php Retrieves the replacement ID of a deleted image style.
ImageStyleStorageInterface::setReplacementId function core/modules/image/src/ImageStyleStorageInterface.php Stores a replacement ID for an image style being deleted.
ImageToolkitInterface interface core/lib/Drupal/Core/ImageToolkit/ImageToolkitInterface.php Defines an interface for image toolkits.
ImageToolkitInterface.php file core/lib/Drupal/Core/ImageToolkit/ImageToolkitInterface.php
ImageToolkitInterface::apply function core/lib/Drupal/Core/ImageToolkit/ImageToolkitInterface.php Applies a toolkit operation to an image.
ImageToolkitInterface::getHeight function core/lib/Drupal/Core/ImageToolkit/ImageToolkitInterface.php Returns the height of the image.
ImageToolkitInterface::getMimeType function core/lib/Drupal/Core/ImageToolkit/ImageToolkitInterface.php Returns the MIME type of the image file.
ImageToolkitInterface::getRequirements function core/lib/Drupal/Core/ImageToolkit/ImageToolkitInterface.php Gets toolkit requirements in a format suitable for hook_requirements().
ImageToolkitInterface::getSource function core/lib/Drupal/Core/ImageToolkit/ImageToolkitInterface.php Gets the source path of the image file.
ImageToolkitInterface::getSupportedExtensions function core/lib/Drupal/Core/ImageToolkit/ImageToolkitInterface.php Returns a list of image file extensions supported by the toolkit.
ImageToolkitInterface::getWidth function core/lib/Drupal/Core/ImageToolkit/ImageToolkitInterface.php Returns the width of the image.
ImageToolkitInterface::isAvailable function core/lib/Drupal/Core/ImageToolkit/ImageToolkitInterface.php Verifies that the Image Toolkit is set up correctly.
ImageToolkitInterface::isValid function core/lib/Drupal/Core/ImageToolkit/ImageToolkitInterface.php Checks if the image is valid.
ImageToolkitInterface::parseFile function core/lib/Drupal/Core/ImageToolkit/ImageToolkitInterface.php Determines if a file contains a valid image.
ImageToolkitInterface::save function core/lib/Drupal/Core/ImageToolkit/ImageToolkitInterface.php Writes an image resource to a destination file.

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