diff --git a/core/modules/migrate/migrate.install b/core/modules/migrate/migrate.install index 7a3f630..582e5f7 100644 --- a/core/modules/migrate/migrate.install +++ b/core/modules/migrate/migrate.install @@ -20,7 +20,7 @@ function migrate_update_8001() { } /** - * Copy of Sql::getFieldSchema() for use by updates. + * Copy of Sql::getFieldSchema() for use by update hooks. * * @param array $id_definition * The definition of the field having the structure as the items returned by @@ -28,6 +28,8 @@ function migrate_update_8001() { * * @return array * The database schema definition. + * + * @see \Drupal\migrate\Plugin\migrate\id_map\Sql::getFieldSchema() */ function _migrate_get_field_schema(array $id_definition) { $type_parts = explode('.', $id_definition['type']); diff --git a/core/modules/migrate/src/Plugin/migrate/destination/EntityRevision.php b/core/modules/migrate/src/Plugin/migrate/destination/EntityRevision.php index af492b5..f571cb4 100644 --- a/core/modules/migrate/src/Plugin/migrate/destination/EntityRevision.php +++ b/core/modules/migrate/src/Plugin/migrate/destination/EntityRevision.php @@ -70,8 +70,8 @@ protected function getEntity(Row $row, array $old_destination_id_values) { $entity->enforceIsNew(FALSE); $entity->setNewRevision(TRUE); } - // We need to update the translated entity, so that the destination row IDs - // are correct. + // We need to update the entity, so that the destination row IDs are + // correct. $entity = $this->updateEntity($entity, $row); $entity->isDefaultRevision(FALSE); return $entity;