You are here

public function EntityDenormalizerBase::normalize in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/jsonapi/src/Normalizer/EntityDenormalizerBase.php \Drupal\jsonapi\Normalizer\EntityDenormalizerBase::normalize()

File

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

Class

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

Namespace

Drupal\jsonapi\Normalizer

Code

public function normalize($object, $format = NULL, array $context = []) {
  throw new \LogicException('This method should never be called.');
}