Heyday\ResponsiveImages\ResponsiveImageExtension::createResponsiveSet
Requires the necessary JS and sends the required HTML structure to the template for a responsive image set.
Signature
protected function createResponsiveSet(array
$config,
array
$defaultArgs,
string
$set )
Parameters
$config
—
array
- The configuration of the responsive image set
$defaultArgs
—
array
- The arguments passed to the responsive image
method call, e.g. $MyImage.ResponsiveSet(800x600)
$set
—
string
- The method, or responsive image set, to generate
Returns
- SSViewer