You are here

public function LingotekContentTranslationServiceInterface::getLastUpdated in Lingotek Translation 3.8.x

Same name and namespace in other branches
  1. 4.0.x src/LingotekContentTranslationServiceInterface.php \Drupal\lingotek\LingotekContentTranslationServiceInterface::getLastUpdated()
  2. 3.4.x src/LingotekContentTranslationServiceInterface.php \Drupal\lingotek\LingotekContentTranslationServiceInterface::getLastUpdated()
  3. 3.5.x src/LingotekContentTranslationServiceInterface.php \Drupal\lingotek\LingotekContentTranslationServiceInterface::getLastUpdated()
  4. 3.6.x src/LingotekContentTranslationServiceInterface.php \Drupal\lingotek\LingotekContentTranslationServiceInterface::getLastUpdated()
  5. 3.7.x src/LingotekContentTranslationServiceInterface.php \Drupal\lingotek\LingotekContentTranslationServiceInterface::getLastUpdated()

Gets the 'updated date' time metadata for the given entity.

Parameters

\Drupal\Core\Entity\ContentEntityInterface $entity: The entity which we want the document id.

Return value

\Drupal\Core\Entity\ContentEntityInterface Returns the timestamp.

1 method overrides LingotekContentTranslationServiceInterface::getLastUpdated()
LingotekContentTranslationService::getLastUpdated in src/LingotekContentTranslationService.php
Gets the 'updated date' time metadata for the given entity.

File

src/LingotekContentTranslationServiceInterface.php, line 453

Class

LingotekContentTranslationServiceInterface
Service for managing Lingotek content translations.

Namespace

Drupal\lingotek

Code

public function getLastUpdated(ContentEntityInterface $entity);