Mercurial > hg > isophonics-drupal-site
comparison 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 |
comparison
equal
deleted
inserted
replaced
11:bfffd8d7479a | 12:7a779792577d |
---|---|
35 public function setChangedTime($timestamp); | 35 public function setChangedTime($timestamp); |
36 | 36 |
37 /** | 37 /** |
38 * Gets the timestamp of the last entity change across all translations. | 38 * Gets the timestamp of the last entity change across all translations. |
39 * | 39 * |
40 * This method will return the highest timestamp across all translations. To | |
41 * check that no translation is older than in another version of the entity | |
42 * (e.g. to avoid overwriting newer translations with old data), compare each | |
43 * translation to the other version individually. | |
44 * | |
40 * @return int | 45 * @return int |
41 * The timestamp of the last entity save operation across all | 46 * The timestamp of the last entity save operation across all |
42 * translations. | 47 * translations. |
43 */ | 48 */ |
44 public function getChangedTimeAcrossTranslations(); | 49 public function getChangedTimeAcrossTranslations(); |