From f770a28ff36d4d011e418ff239df8301e3fd15f3 Mon Sep 17 00:00:00 2001 From: webchick <webchick@24967.no-reply.drupal.org> Date: Fri, 30 Aug 2013 23:11:36 -0700 Subject: [PATCH] Issue #1126000 by yched, swentel, catch: Fixed Document that we don't support partial entity updates. --- core/lib/Drupal/Core/Entity/EntityInterface.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/core/lib/Drupal/Core/Entity/EntityInterface.php b/core/lib/Drupal/Core/Entity/EntityInterface.php index a5c9f6e1f8a8..9d58820b7607 100644 --- a/core/lib/Drupal/Core/Entity/EntityInterface.php +++ b/core/lib/Drupal/Core/Entity/EntityInterface.php @@ -138,6 +138,9 @@ public function uriRelationships(); /** * Saves an entity permanently. * + * When saving existing entities, the entity is assumed to be complete, + * partial updates of entities are not supported. + * * @return * Either SAVED_NEW or SAVED_UPDATED, depending on the operation performed. * -- GitLab