public static function CacheableOmission::permanent in JSON:API 8.2
Creates a CacheableNormalization instance without any special cacheability.
Parameters
array|string|int|float|bool|null $normalization: The normalized data. This value must not contain any CacheableNormalizations.
Return value
static The CacheableNormalization.
Overrides CacheableNormalization::permanent
File
- src/
Normalizer/ Value/ CacheableOmission.php, line 35
Class
- CacheableOmission
- Represents the cacheability associated with the omission of a value.
Namespace
Drupal\jsonapi\Normalizer\ValueCode
public static function permanent($no_op = NULL) {
return parent::permanent(NULL);
}