setImages example



            $this->createImageMappingForOptions(
                $variant->getConfiguratorOptions(),
                $image
            );

            $images->add($variantImage);
        }

        $data['images'] = $images;
        $variant->setImages($images);

        return $data;
    }

    /** * Helper function which returns a single image mapping * for the passed variant image and variant model. * * @return Mapping|null */
    protected function getVariantMappingOfImage(Image $image, Detail $variant)
    {
Home | Imprint | This part of the site doesn't use cookies.