Mercurial > hg > isophonics-drupal-site
diff core/lib/Drupal/Core/Entity/EntityChangedInterface.php @ 12:7a779792577d
Update Drupal core to v8.4.5 (via Composer)
author | Chris Cannam |
---|---|
date | Fri, 23 Feb 2018 15:52:07 +0000 |
parents | 4c8ae668cc8c |
children | af1871eacc83 |
line wrap: on
line diff
--- a/core/lib/Drupal/Core/Entity/EntityChangedInterface.php Fri Feb 23 15:51:18 2018 +0000 +++ b/core/lib/Drupal/Core/Entity/EntityChangedInterface.php Fri Feb 23 15:52:07 2018 +0000 @@ -37,6 +37,11 @@ /** * Gets the timestamp of the last entity change across all translations. * + * This method will return the highest timestamp across all translations. To + * check that no translation is older than in another version of the entity + * (e.g. to avoid overwriting newer translations with old data), compare each + * translation to the other version individually. + * * @return int * The timestamp of the last entity save operation across all * translations.