Open nstCactus opened 3 months ago
This let you call the craft.embeddedassets.get(asset) method from templates without having to check first whether asset is null.
craft.embeddedassets.get(asset)
asset
null
If it is, just return null.
This let you call the
craft.embeddedassets.get(asset)
method from templates without having to check first whetherasset
isnull
.If it is, just return
null
.