VariantSupportInterface
interface VariantSupportInterface (View source)
An interface which defines that an asset has support for variants
Methods
array
getVariants()
Returns all variants (if any) derived from this asset
AssetVariantInterface|null
getVariant(string $presetIdentifier, string $presetVariantName)
Returns the variant identified by $presetIdentifier and $presetVariantName (if existing)
Details
array
getVariants()
Returns all variants (if any) derived from this asset
AssetVariantInterface|null
getVariant(string $presetIdentifier, string $presetVariantName)
Returns the variant identified by $presetIdentifier and $presetVariantName (if existing)