Search for interface

  1. Search 7.x for interface
  2. Search 9.5.x for interface
  3. Search 10.3.x for interface
  4. Search 11.x for interface
  5. Other projects
Title Object type File name Summary
ImageEffectInterface::getWeight function core/modules/image/src/ImageEffectInterface.php Returns the weight of the image effect.
ImageEffectInterface::label function core/modules/image/src/ImageEffectInterface.php Returns the image effect label.
ImageEffectInterface::setWeight function core/modules/image/src/ImageEffectInterface.php Sets the weight for this image effect.
ImageEffectInterface::transformDimensions function core/modules/image/src/ImageEffectInterface.php Determines the dimensions of the styled image.
ImageInterface interface core/lib/Drupal/Core/Image/ImageInterface.php Provides an interface for image objects.
ImageInterface.php file core/lib/Drupal/Core/Image/ImageInterface.php
ImageInterface::apply function core/lib/Drupal/Core/Image/ImageInterface.php Applies a toolkit operation to the image.
ImageInterface::convert function core/lib/Drupal/Core/Image/ImageInterface.php Instructs the toolkit to save the image in the format specified by the
extension.
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::getReplacementID function core/modules/image/src/ImageStyleInterface.php Returns the replacement ID.
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.

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