From cf4cc20b1ca03066d19dabc8787599f85b7fcd40 Mon Sep 17 00:00:00 2001 From: Alex Pott Date: Wed, 9 Jul 2014 09:43:20 +0100 Subject: [PATCH] Issue #2297631 by martin107: Nudge contrib into overriding \Drupal\Core\TypedData\TypedData::setValue() consistently. --- core/lib/Drupal/Core/TypedData/TypedDataInterface.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/core/lib/Drupal/Core/TypedData/TypedDataInterface.php b/core/lib/Drupal/Core/TypedData/TypedDataInterface.php index c7641b055783..a7eb8a26c14d 100644 --- a/core/lib/Drupal/Core/TypedData/TypedDataInterface.php +++ b/core/lib/Drupal/Core/TypedData/TypedDataInterface.php @@ -44,6 +44,8 @@ interface TypedDataInterface { * TRUE. If a property is updated from a parent object, set it to FALSE to * avoid being notified again. * + * @throws \InvalidArgumentException + * If the value input is inappropriate. * @throws \Drupal\Core\TypedData\ReadOnlyException * If the data is read-only. */