You are here

public function LingotekInterfaceTranslationServiceInterface::setLastUploaded in Lingotek Translation 4.0.x

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

Updates the 'initial upload' time metadata to the current request time.

Parameters

string $component: The component for which we want to update the timestamp.

int $timestamp: The timestamp we want to store.

Return value

string Returns the component which translations are saved.

1 method overrides LingotekInterfaceTranslationServiceInterface::setLastUploaded()
LingotekInterfaceTranslationService::setLastUploaded in src/LingotekInterfaceTranslationService.php
Updates the 'initial upload' time metadata to the current request time.

File

src/LingotekInterfaceTranslationServiceInterface.php, line 401

Class

LingotekInterfaceTranslationServiceInterface
Service for managing Lingotek interface translations.

Namespace

Drupal\lingotek

Code

public function setLastUploaded($component, int $timestamp);