You are here

class ImageVariantItemNormalizerValue in Consumer Image Styles 8

Same name and namespace in other branches
  1. 8.2 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 15

Namespace

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

  /**
   * {@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 3
CacheableDependencyTrait::getCacheMaxAge public function 3
CacheableDependencyTrait::getCacheTags public function 3
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
RefinableCacheableDependencyTrait::addCacheableDependency public function 1
RefinableCacheableDependencyTrait::addCacheContexts public function
RefinableCacheableDependencyTrait::addCacheTags public function
RefinableCacheableDependencyTrait::mergeCacheMaxAge public function