You are here

protected function KernelTestBase::defaultLanguageData in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/simpletest/src/KernelTestBase.php \Drupal\simpletest\KernelTestBase::defaultLanguageData()

Provides the data for setting the default language on the container.

Return value

array The data array for the default language.

1 call to KernelTestBase::defaultLanguageData()
KernelTestBase::containerBuild in core/modules/simpletest/src/KernelTestBase.php
Sets up the base service container for this test.
1 method overrides KernelTestBase::defaultLanguageData()
LocaleConfigSubscriberForeignTest::defaultLanguageData in core/modules/locale/src/Tests/LocaleConfigSubscriberForeignTest.php
Provides the data for setting the default language on the container.

File

core/modules/simpletest/src/KernelTestBase.php, line 386
Contains \Drupal\simpletest\KernelTestBase.

Class

KernelTestBase
Base class for integration tests.

Namespace

Drupal\simpletest

Code

protected function defaultLanguageData() {
  return Language::$defaultValues;
}