function CacheableNormalization::getNormalization

Same name in other branches
  1. 9 core/modules/jsonapi/src/Normalizer/Value/CacheableNormalization.php \Drupal\jsonapi\Normalizer\Value\CacheableNormalization::getNormalization()
  2. 8.9.x core/modules/jsonapi/src/Normalizer/Value/CacheableNormalization.php \Drupal\jsonapi\Normalizer\Value\CacheableNormalization::getNormalization()
  3. 10 core/modules/jsonapi/src/Normalizer/Value/CacheableNormalization.php \Drupal\jsonapi\Normalizer\Value\CacheableNormalization::getNormalization()

Gets the decorated normalization.

Return value

array|string|int|float|bool|null The normalization.

1 method overrides CacheableNormalization::getNormalization()
CacheableOmission::getNormalization in core/modules/jsonapi/src/Normalizer/Value/CacheableOmission.php
A CacheableOmission should never have its normalization retrieved.

File

core/modules/jsonapi/src/Normalizer/Value/CacheableNormalization.php, line 65

Class

CacheableNormalization
Use to store normalized data and its cacheability.

Namespace

Drupal\jsonapi\Normalizer\Value

Code

public function getNormalization() {
    return $this->normalization;
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.