function CacheableOmission::getNormalization
Same name in other branches
- 9 core/modules/jsonapi/src/Normalizer/Value/CacheableOmission.php \Drupal\jsonapi\Normalizer\Value\CacheableOmission::getNormalization()
- 8.9.x core/modules/jsonapi/src/Normalizer/Value/CacheableOmission.php \Drupal\jsonapi\Normalizer\Value\CacheableOmission::getNormalization()
- 11.x 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\ValueCode
public function getNormalization() {
throw new \LogicException('A CacheableOmission should never have its normalization retrieved.');
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.