Updated Drupal to 8.6. This goes with the following updates because it's possible...
[yaffs-website] / web / core / lib / Drupal / Core / Field / FieldItemList.php
index 52bf9c9d23df01eb33b411361fec96214c513071..d3eb205a022515f526a7ef5b3edfdff2d898bcc8 100644 (file)
@@ -400,4 +400,11 @@ class FieldItemList extends ItemList implements FieldItemListInterface {
     return $value1 == $value2;
   }
 
+  /**
+   * {@inheritdoc}
+   */
+  public function hasAffectingChanges(FieldItemListInterface $original_items, $langcode) {
+    return !$this->equals($original_items);
+  }
+
 }