Provides a factory for image objects.
Hierarchy
- class \Drupal\Core\Image\ImageFactory
File
- core/lib/Drupal/Core/Image/ImageFactory.php, line 10
Namespace
Drupal\Core\Image
Members
Name | Modifiers | Type | Description |
---|---|---|---|
ImageFactory::$toolkitId | protected | property | The image toolkit ID to use for this factory. |
ImageFactory::$toolkitManager | protected | property | The image toolkit plugin manager. |
ImageFactory::get | public | function | Constructs a new Image object. |
ImageFactory::getSupportedExtensions | public | function | Returns the image file extensions supported by the toolkit. |
ImageFactory::getToolkitId | public | function | Gets the ID of the image toolkit currently in use. |
ImageFactory::setToolkitId | public | function | Sets the ID of the image toolkit. |
ImageFactory::__construct | public | function | Constructs a new ImageFactory object. |
Please login to continue.