You are here

class ImageVariantItemNormalizerValue in Consumer Image Styles 8.2

Same name and namespace in other branches
  1. 8 src/Normalizer/Value/ImageVariantItemNormalizerValue.php \Drupal\consumer_image_styles\Normalizer\Value\ImageVariantItemNormalizerValue

Hierarchy

Expanded class hierarchy of ImageVariantItemNormalizerValue

1 file declares its use of ImageVariantItemNormalizerValue
ImageEntityNormalizer.php in src/Normalizer/ImageEntityNormalizer.php

File

src/Normalizer/Value/ImageVariantItemNormalizerValue.php, line 14

Namespace

Drupal\consumer_image_styles\Normalizer\Value
View source
class ImageVariantItemNormalizerValue extends FieldItemNormalizerValue {

  /**
   * {@inheritdoc}
   */
  public function rasterizeValue() {
    return $this
      ->rasterizeValueRecursive($this->raw);
  }

}

Members

Namesort descending Modifiers Type Description Overrides
CacheableDependencyTrait::$cacheContexts protected property Cache contexts.
CacheableDependencyTrait::$cacheMaxAge protected property Cache max-age.
CacheableDependencyTrait::$cacheTags protected property Cache tags.
CacheableDependencyTrait::getCacheContexts public function
CacheableDependencyTrait::getCacheMaxAge public function
CacheableDependencyTrait::getCacheTags public function
CacheableDependencyTrait::setCacheability protected function Sets cacheability; useful for value object constructors.
FieldItemNormalizerValue::$raw protected property Raw values. 1
FieldItemNormalizerValue::rasterizeValueRecursive protected function Rasterizes a value recursively.
FieldItemNormalizerValue::__construct public function Instantiate a FieldItemNormalizerValue object. 2
ImageVariantItemNormalizerValue::rasterizeValue public function Overrides FieldItemNormalizerValue::rasterizeValue