public function ImageNormalizerValue::__construct in Consumer Image Styles 8
Same name and namespace in other branches
- 8.2 src/Normalizer/Value/ImageNormalizerValue.php \Drupal\consumer_image_styles\Normalizer\Value\ImageNormalizerValue::__construct()
ImageNormalizerValue constructor.
File
- src/
Normalizer/ Value/ ImageNormalizerValue.php, line 29
Class
Namespace
Drupal\consumer_image_styles\Normalizer\ValueCode
public function __construct(ValueExtractorInterface $variants, EntityNormalizerValue $subject) {
$this->subject = $subject;
$this->variants = $variants;
$this
->addCacheableDependency($variants);
}