Unverified Commit c79e2a0b authored by Alex Pott's avatar Alex Pott
Browse files

docs: #3576233 Correct documentation for ::getChangedTimeAcrossTranslations()

By: liam morland
(cherry picked from commit e15d32c4)
parent ad7d9b35
Loading
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -45,9 +45,9 @@ public function setChangedTime($timestamp);
   * (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.
   * @return int|null
   *   The timestamp of the last entity save operation across all translations.
   *   Some entities allow a NULL value indicating the changed time is unknown.
   */
  public function getChangedTimeAcrossTranslations();

+3 −3
Original line number Diff line number Diff line
@@ -10,9 +10,9 @@ trait EntityChangedTrait {
  /**
   * Returns the timestamp of the last entity change across all translations.
   *
   * @return int
   *   The timestamp of the last entity save operation across all
   *   translations.
   * @return int|null
   *   The timestamp of the last entity save operation across all translations.
   *   Some entities allow a NULL value indicating the changed time is unknown.
   */
  public function getChangedTimeAcrossTranslations() {
    $changed = $this->getUntranslated()->getChangedTime();