function PrimitiveDataNormalizer::hasCacheableSupportsMethod
Same name in other branches
- 9 core/modules/serialization/src/Normalizer/PrimitiveDataNormalizer.php \Drupal\serialization\Normalizer\PrimitiveDataNormalizer::hasCacheableSupportsMethod()
Overrides NormalizerBase::hasCacheableSupportsMethod
File
-
core/
modules/ serialization/ src/ Normalizer/ PrimitiveDataNormalizer.php, line 42
Class
- PrimitiveDataNormalizer
- Converts primitive data objects to their casted values.
Namespace
Drupal\serialization\NormalizerCode
public function hasCacheableSupportsMethod() : bool {
@trigger_error(__METHOD__ . '() is deprecated in drupal:10.1.0 and is removed from drupal:11.0.0. Use getSupportedTypes() instead. See https://www.drupal.org/node/3359695', E_USER_DEPRECATED);
return TRUE;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.