You are here

public function LingotekConfigTranslationServiceInterface::setLastUpdated in Lingotek Translation 3.4.x

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

Updates the 'updated date' time metadata to the current request time.

Parameters

\Drupal\Core\Config\Entity\ConfigEntityInterface $entity: The entity to which we want to save the timestamp.

int $timestamp: The timestamp we want to store.

Return value

\Drupal\Core\Config\Entity\ConfigEntityInterface Returns the entity for which timestamp is saved.

1 method overrides LingotekConfigTranslationServiceInterface::setLastUpdated()
LingotekConfigTranslationService::setLastUpdated in src/LingotekConfigTranslationService.php
Updates the 'updated date' time metadata to the current request time.

File

src/LingotekConfigTranslationServiceInterface.php, line 779

Class

LingotekConfigTranslationServiceInterface
Service for managing Lingotek configuration translations.

Namespace

Drupal\lingotek

Code

public function setLastUpdated(ConfigEntityInterface $entity, int $timestamp);