You are here

public function CacheableOmission::getNormalization in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/jsonapi/src/Normalizer/Value/CacheableOmission.php \Drupal\jsonapi\Normalizer\Value\CacheableOmission::getNormalization()
  2. 10 core/modules/jsonapi/src/Normalizer/Value/CacheableOmission.php \Drupal\jsonapi\Normalizer\Value\CacheableOmission::getNormalization()

A CacheableOmission should never have its normalization retrieved.

Overrides CacheableNormalization::getNormalization

File

core/modules/jsonapi/src/Normalizer/Value/CacheableOmission.php, line 42

Class

CacheableOmission
Represents the cacheability associated with the omission of a value.

Namespace

Drupal\jsonapi\Normalizer\Value

Code

public function getNormalization() {
  throw new \LogicException('A CacheableOmission should never have its normalization retrieved.');
}