public static function CacheableOmission::permanent in Drupal 9
Same name and namespace in other branches
- 8 core/modules/jsonapi/src/Normalizer/Value/CacheableOmission.php \Drupal\jsonapi\Normalizer\Value\CacheableOmission::permanent()
- 10 core/modules/jsonapi/src/Normalizer/Value/CacheableOmission.php \Drupal\jsonapi\Normalizer\Value\CacheableOmission::permanent()
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
- core/
modules/ jsonapi/ 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);
}