diff --git a/core/modules/hal/lib/Drupal/hal/Normalizer/EntityNormalizer.php b/core/modules/hal/lib/Drupal/hal/Normalizer/EntityNormalizer.php index 751de28..5a3f2ce 100644 --- a/core/modules/hal/lib/Drupal/hal/Normalizer/EntityNormalizer.php +++ b/core/modules/hal/lib/Drupal/hal/Normalizer/EntityNormalizer.php @@ -110,8 +110,7 @@ public function denormalize($data, $class, $format = NULL, array $context = arra } } - // Get links and remove from data array. - $links = $data['_links']; + // Remove links from data array. unset($data['_links']); // Get embedded resources and remove from data array. $embedded = array();