function ConfigEntityNormalizer::denormalize

Same name in other branches
  1. 8.9.x core/modules/serialization/src/Normalizer/ConfigEntityNormalizer.php \Drupal\serialization\Normalizer\ConfigEntityNormalizer::denormalize()
  2. 10 core/modules/serialization/src/Normalizer/ConfigEntityNormalizer.php \Drupal\serialization\Normalizer\ConfigEntityNormalizer::denormalize()
  3. 11.x core/modules/serialization/src/Normalizer/ConfigEntityNormalizer.php \Drupal\serialization\Normalizer\ConfigEntityNormalizer::denormalize()

Overrides EntityNormalizer::denormalize

File

core/modules/serialization/src/Normalizer/ConfigEntityNormalizer.php, line 27

Class

ConfigEntityNormalizer
Normalizes/denormalizes Drupal config entity objects into an array structure.

Namespace

Drupal\serialization\Normalizer

Code

public function denormalize($data, $class, $format = NULL, array $context = []) {
    return parent::denormalize(static::getDataWithoutInternals($data), $class, $format, $context);
}

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