EagerImageTransformerInterface
- Type
- Interface
- Namespace
- craft\base\imagetransforms
- Implemented by
- craft\imagetransforms\ImageTransformer
- Since
- 4.0.0
EagerLoadTransformerInterface defines the common interface to be implemented by all image drivers that can eager-load transforms.
View source (opens new window)
# Public Methods
Method | Description |
---|---|
eagerLoadTransforms() | Eager-loads the given transforms for the given assets. |
# eagerLoadTransforms()
Eager-loads the given transforms for the given assets.
View source (opens new window)
Arguments
$transforms
(craft\models\ImageTransform[])$assets
(craft\elements\Asset[])