Issue #2232427: Allow field types to control how properties are mapped to and from storage
Compare changes
@@ -316,8 +316,7 @@ public function setFieldStorageDefinitions(array $field_storage_definitions) {
@@ -466,12 +465,29 @@ protected function mapFromStorageRecords(array $records, $load_from_revision = F
@@ -480,9 +496,9 @@ protected function mapFromStorageRecords(array $records, $load_from_revision = F
@@ -591,17 +607,29 @@ protected function loadFromSharedTables(array &$values, array &$translations, $l
@@ -1038,46 +1066,83 @@ protected function mapToStorageRecord(ContentEntityInterface $entity, $table_nam
@@ -1255,13 +1320,22 @@ protected function loadFromDedicatedTables(array &$values, $load_from_revision)
@@ -1362,14 +1436,27 @@ protected function saveToDedicatedTables(ContentEntityInterface $entity, $update
@@ -1396,6 +1483,57 @@ protected function saveToDedicatedTables(ContentEntityInterface $entity, $update
@@ -1786,4 +1924,55 @@ public function countFieldData($storage_definition, $as_bool = FALSE) {