You are here

protected function LocaleConfigSubscriberForeignTest::setUpLocale in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/locale/src/Tests/LocaleConfigSubscriberForeignTest.php \Drupal\locale\Tests\LocaleConfigSubscriberForeignTest::setUpLocale()

Sets up the locale storage strings to be in line with configuration.

Overrides LocaleConfigSubscriberTest::setUpLocale

File

core/modules/locale/src/Tests/LocaleConfigSubscriberForeignTest.php, line 41
Contains \Drupal\locale\Tests\LocaleConfigSubscriberForeignTest.

Class

LocaleConfigSubscriberForeignTest
Tests default configuration handling with a foreign default language.

Namespace

Drupal\locale\Tests

Code

protected function setUpLocale() {
  parent::setUpLocale();
  $this
    ->setUpTranslation('locale_test.translation', 'test', 'English test', 'Hungarian test', 'hu', TRUE);
}