function LocaleSource::updateLastChecked

Updates the last checked timestamp.

File

core/modules/locale/src/LocaleSource.php, line 199

Class

LocaleSource
Provides the locale source services.

Namespace

Drupal\locale

Code

public function updateLastChecked() : void {
  $this->keyValueFactory
    ->get('locale.translation_status')
    ->set(static::LAST_CHECKED, $this->time
    ->getRequestTime());
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.