function EntityDenormalizerBase::supportsNormalization

Same name in other branches
  1. 9 core/modules/jsonapi/src/Normalizer/EntityDenormalizerBase.php \Drupal\jsonapi\Normalizer\EntityDenormalizerBase::supportsNormalization()
  2. 8.9.x core/modules/jsonapi/src/Normalizer/EntityDenormalizerBase.php \Drupal\jsonapi\Normalizer\EntityDenormalizerBase::supportsNormalization()
  3. 10 core/modules/jsonapi/src/Normalizer/EntityDenormalizerBase.php \Drupal\jsonapi\Normalizer\EntityDenormalizerBase::supportsNormalization()

Overrides NormalizerBase::supportsNormalization

File

core/modules/jsonapi/src/Normalizer/EntityDenormalizerBase.php, line 70

Class

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

Namespace

Drupal\jsonapi\Normalizer

Code

public function supportsNormalization($data, ?string $format = NULL, array $context = []) : bool {
    return FALSE;
}

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