function EntityReferenceItemNormalizer::hasCacheableSupportsMethod

Overrides FieldItemNormalizer::hasCacheableSupportsMethod

File

core/modules/hal/src/Normalizer/EntityReferenceItemNormalizer.php, line 190

Class

EntityReferenceItemNormalizer
Converts the Drupal entity reference item object to HAL array structure.

Namespace

Drupal\hal\Normalizer

Code

public function hasCacheableSupportsMethod() : bool {
    return TRUE;
}

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