diff --git a/core/lib/Drupal/Core/Config/Schema/ArrayElement.php b/core/lib/Drupal/Core/Config/Schema/ArrayElement.php index 9443476..847135e 100644 --- a/core/lib/Drupal/Core/Config/Schema/ArrayElement.php +++ b/core/lib/Drupal/Core/Config/Schema/ArrayElement.php @@ -10,7 +10,6 @@ use Drupal\Component\Utility\String; use Drupal\Core\Config\TypedConfigManagerInterface; use Drupal\Core\TypedData\TypedData; -use Drupal\Core\TypedData\TypedDataInterface; /** * Defines a generic configuration element that contains multiple properties. @@ -103,10 +102,6 @@ public function get($name) { * {@inheritdoc} */ public function set($key, $value) { - // Support setting values via typed data objects. - if ($value instanceof TypedDataInterface) { - $value = $value->getValue(); - } $this->value[$key] = $value; // Parsed elements must be rebuilt with new values unset($this->elements);