function ConfigEntityDenormalizer::hasCacheableSupportsMethod

Same name in other branches
  1. 9 core/modules/jsonapi/src/Normalizer/ConfigEntityDenormalizer.php \Drupal\jsonapi\Normalizer\ConfigEntityDenormalizer::hasCacheableSupportsMethod()

Overrides NormalizerBase::hasCacheableSupportsMethod

File

core/modules/jsonapi/src/Normalizer/ConfigEntityDenormalizer.php, line 33

Class

ConfigEntityDenormalizer
Converts the Drupal config entity object to a JSON:API array structure.

Namespace

Drupal\jsonapi\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 TRUE;
}

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