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.
Public Methods ​
Method | Description |
---|---|
eagerLoadTransforms() | Eager-loads the given transforms for the given assets. |
eagerLoadTransforms()
​
Eager-loads the given transforms for the given assets.
Arguments ​
$transforms
(craft\models\ImageTransform[])$assets
(craft\elements\Asset[])