You are here

public function EntityDenormalizerBase::normalize in Drupal 8

Same name and namespace in other branches
  1. 9 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.');
}