function LocaleFileHashTest::checkTranslations

Same name and namespace in other branches
  1. 11.x core/modules/locale/tests/src/Functional/LocaleFileHashTest.php \Drupal\Tests\locale\Functional\LocaleFileHashTest::checkTranslations()

Check for translation updates via the UI.

File

core/modules/locale/tests/src/Functional/LocaleFileHashTest.php, line 61

Class

LocaleFileHashTest
Tests that file hash is used for local translation file change detection.

Namespace

Drupal\Tests\locale\Functional

Code

protected function checkTranslations() : void {
  $this->drupalGet('admin/reports/translations');
  $this->clickLink('Check manually');
  $this->checkForMetaRefresh();
}

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