public function LingotekInterfaceTranslationServiceInterface::setLastUpdated in Lingotek Translation 3.8.x
Same name and namespace in other branches
- 4.0.x src/LingotekInterfaceTranslationServiceInterface.php \Drupal\lingotek\LingotekInterfaceTranslationServiceInterface::setLastUpdated()
- 3.4.x src/LingotekInterfaceTranslationServiceInterface.php \Drupal\lingotek\LingotekInterfaceTranslationServiceInterface::setLastUpdated()
- 3.5.x src/LingotekInterfaceTranslationServiceInterface.php \Drupal\lingotek\LingotekInterfaceTranslationServiceInterface::setLastUpdated()
- 3.6.x src/LingotekInterfaceTranslationServiceInterface.php \Drupal\lingotek\LingotekInterfaceTranslationServiceInterface::setLastUpdated()
- 3.7.x src/LingotekInterfaceTranslationServiceInterface.php \Drupal\lingotek\LingotekInterfaceTranslationServiceInterface::setLastUpdated()
Updates the 'updated date' 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::setLastUpdated()
- LingotekInterfaceTranslationService::setLastUpdated in src/
LingotekInterfaceTranslationService.php - Updates the 'updated date' time metadata to the current request time.
File
- src/
LingotekInterfaceTranslationServiceInterface.php, line 414
Class
- LingotekInterfaceTranslationServiceInterface
- Service for managing Lingotek interface translations.
Namespace
Drupal\lingotekCode
public function setLastUpdated($component, int $timestamp);