You are here

public function ConfigEntityDenormalizer::denormalize in JSON:API Extras 8.3

Overrides JsonApiNormalizerDecoratorBase::denormalize

File

src/Normalizer/ConfigEntityDenormalizer.php, line 15

Class

ConfigEntityDenormalizer
Override ConfigEntityNormalizer to prepare input.

Namespace

Drupal\jsonapi_extras\Normalizer

Code

public function denormalize($data, $class, $format = NULL, array $context = []) {
  return parent::denormalize($this
    ->prepareInput($data, $context['resource_type']), $class, $format, $context);
}