function NormalizerBase::hasCacheableSupportsMethod

Same name in other branches
  1. 9 core/modules/serialization/src/Normalizer/NormalizerBase.php \Drupal\serialization\Normalizer\NormalizerBase::hasCacheableSupportsMethod()
16 methods override NormalizerBase::hasCacheableSupportsMethod()
ComplexDataNormalizer::hasCacheableSupportsMethod in core/modules/serialization/src/Normalizer/ComplexDataNormalizer.php
ConfigEntityDenormalizer::hasCacheableSupportsMethod in core/modules/jsonapi/src/Normalizer/ConfigEntityDenormalizer.php
ContentEntityDenormalizer::hasCacheableSupportsMethod in core/modules/jsonapi/src/Normalizer/ContentEntityDenormalizer.php
DataNormalizer::hasCacheableSupportsMethod in core/modules/jsonapi/src/Normalizer/DataNormalizer.php
DateTimeNormalizer::hasCacheableSupportsMethod in core/modules/serialization/src/Normalizer/DateTimeNormalizer.php

... See full list

File

core/modules/serialization/src/Normalizer/NormalizerBase.php, line 109

Class

NormalizerBase
Base class for Normalizers.

Namespace

Drupal\serialization\Normalizer

Code

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 FALSE;
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.