| LocaleLocalTasksTest |
class |
core/modules/locale/tests/src/Unit/Menu/LocaleLocalTasksTest.php |
Tests locale local tasks. |
| LocaleLocalTasksTest.php |
file |
core/modules/locale/tests/src/Unit/Menu/LocaleLocalTasksTest.php |
|
| LocaleLocalTasksTest::getLocalePageRoutes |
function |
core/modules/locale/tests/src/Unit/Menu/LocaleLocalTasksTest.php |
Provides a list of routes to test. |
| LocaleLocalTasksTest::setUp |
function |
core/modules/locale/tests/src/Unit/Menu/LocaleLocalTasksTest.php |
|
| LocaleLocalTasksTest::testLocalePageLocalTasks |
function |
core/modules/locale/tests/src/Unit/Menu/LocaleLocalTasksTest.php |
Checks locale listing local tasks. |
| LocaleLookupTest |
class |
core/modules/locale/tests/src/Unit/LocaleLookupTest.php |
Tests Drupal\locale\LocaleLookup. |
| LocaleLookupTest.php |
file |
core/modules/locale/tests/src/Unit/LocaleLookupTest.php |
|
| LocaleLookupTest::$configFactory |
property |
core/modules/locale/tests/src/Unit/LocaleLookupTest.php |
A mocked config factory built with UnitTestCase::getConfigFactoryStub(). |
| LocaleLookupTest::$languageManager |
property |
core/modules/locale/tests/src/Unit/LocaleLookupTest.php |
A mocked language manager built from LanguageManagerInterface. |
| LocaleLookupTest::$lock |
property |
core/modules/locale/tests/src/Unit/LocaleLookupTest.php |
A mocked lock object. |
| LocaleLookupTest::$requestStack |
property |
core/modules/locale/tests/src/Unit/LocaleLookupTest.php |
The request stack. |
| LocaleLookupTest::$storage |
property |
core/modules/locale/tests/src/Unit/LocaleLookupTest.php |
A mocked storage to use when instantiating LocaleTranslation objects. |
| LocaleLookupTest::$user |
property |
core/modules/locale/tests/src/Unit/LocaleLookupTest.php |
A mocked user object built from AccountInterface. |
| LocaleLookupTest::getCidProvider |
function |
core/modules/locale/tests/src/Unit/LocaleLookupTest.php |
Provides test data for testGetCid(). |
| LocaleLookupTest::providerFixOldPluralTranslationProvider |
function |
core/modules/locale/tests/src/Unit/LocaleLookupTest.php |
Provides test data for testResolveCacheMissWithFallback(). |
| LocaleLookupTest::resolveCacheMissWithFallbackProvider |
function |
core/modules/locale/tests/src/Unit/LocaleLookupTest.php |
Provides test data for testResolveCacheMissWithFallback(). |
| LocaleLookupTest::setUp |
function |
core/modules/locale/tests/src/Unit/LocaleLookupTest.php |
|
| LocaleLookupTest::testFixOldPluralStyleTranslations |
function |
core/modules/locale/tests/src/Unit/LocaleLookupTest.php |
Tests locale lookups with old plural style of translations. |
| LocaleLookupTest::testGetCid |
function |
core/modules/locale/tests/src/Unit/LocaleLookupTest.php |
Tests get cid. |
| LocaleLookupTest::testResolveCacheMissNoTranslation |
function |
core/modules/locale/tests/src/Unit/LocaleLookupTest.php |
Tests locale lookups without a found translation. |
| LocaleLookupTest::testResolveCacheMissWithFallback |
function |
core/modules/locale/tests/src/Unit/LocaleLookupTest.php |
Tests locale lookups with fallback. |
| LocaleLookupTest::testResolveCacheMissWithoutFallback |
function |
core/modules/locale/tests/src/Unit/LocaleLookupTest.php |
Tests locale lookups without fallback. |
| LocaleLookupTest::testResolveCacheMissWithPersist |
function |
core/modules/locale/tests/src/Unit/LocaleLookupTest.php |
Tests locale lookups with persistent tracking. |
| LocaleNonInteractiveDevInstallTest |
class |
core/modules/locale/tests/src/Functional/LocaleNonInteractiveDevInstallTest.php |
Tests installing in a different language with a dev version string. |
| LocaleNonInteractiveDevInstallTest.php |
file |
core/modules/locale/tests/src/Functional/LocaleNonInteractiveDevInstallTest.php |
|
| LocaleNonInteractiveDevInstallTest::$defaultTheme |
property |
core/modules/locale/tests/src/Functional/LocaleNonInteractiveDevInstallTest.php |
The theme to install as the default for testing. |
| LocaleNonInteractiveDevInstallTest::getVersionStringToTest |
function |
core/modules/locale/tests/src/Functional/LocaleNonInteractiveDevInstallTest.php |
Gets the version string to use in the translation file. |
| LocaleNonInteractiveInstallTest |
class |
core/modules/locale/tests/src/Functional/LocaleNonInteractiveInstallTest.php |
Tests installing in a different language with a non-dev version string. |
| LocaleNonInteractiveInstallTest.php |
file |
core/modules/locale/tests/src/Functional/LocaleNonInteractiveInstallTest.php |
|
| LocaleNonInteractiveInstallTest::$defaultTheme |
property |
core/modules/locale/tests/src/Functional/LocaleNonInteractiveInstallTest.php |
The theme to install as the default for testing. |
| LocaleNonInteractiveInstallTest::installParameters |
function |
core/modules/locale/tests/src/Functional/LocaleNonInteractiveInstallTest.php |
Returns the parameters that will be used when the test installs Drupal. |
| LocaleNonInteractiveInstallTest::testInstallerTranslations |
function |
core/modules/locale/tests/src/Functional/LocaleNonInteractiveInstallTest.php |
Tests that the expected translated text appears on the login screen. |
| LocalePathTest |
class |
core/modules/locale/tests/src/Functional/LocalePathTest.php |
Tests you can configure a language for individual URL aliases. |
| LocalePathTest.php |
file |
core/modules/locale/tests/src/Functional/LocalePathTest.php |
|
| LocalePathTest::$defaultTheme |
property |
core/modules/locale/tests/src/Functional/LocalePathTest.php |
The theme to install as the default for testing. |
| LocalePathTest::$modules |
property |
core/modules/locale/tests/src/Functional/LocalePathTest.php |
Modules to install. |
| LocalePathTest::setUp |
function |
core/modules/locale/tests/src/Functional/LocalePathTest.php |
|
| LocalePathTest::testPathLanguageConfiguration |
function |
core/modules/locale/tests/src/Functional/LocalePathTest.php |
Tests if a language can be associated with a path alias. |
| LocalePluralFormatTest |
class |
core/modules/locale/tests/src/Functional/LocalePluralFormatTest.php |
Tests plural handling for various languages. |
| LocalePluralFormatTest.php |
file |
core/modules/locale/tests/src/Functional/LocalePluralFormatTest.php |
|
| LocalePluralFormatTest::$adminUser |
property |
core/modules/locale/tests/src/Functional/LocalePluralFormatTest.php |
An admin user. |
| LocalePluralFormatTest::$defaultTheme |
property |
core/modules/locale/tests/src/Functional/LocalePluralFormatTest.php |
The theme to install as the default for testing. |
| LocalePluralFormatTest::$modules |
property |
core/modules/locale/tests/src/Functional/LocalePluralFormatTest.php |
Modules to install. |
| LocalePluralFormatTest::getPoFileWithBrokenPlural |
function |
core/modules/locale/tests/src/Functional/LocalePluralFormatTest.php |
Returns a .po file with a broken plural formula. |
| LocalePluralFormatTest::getPoFileWithComplexPlural |
function |
core/modules/locale/tests/src/Functional/LocalePluralFormatTest.php |
Returns a .po file with a complex plural formula. |
| LocalePluralFormatTest::getPoFileWithMissingPlural |
function |
core/modules/locale/tests/src/Functional/LocalePluralFormatTest.php |
Returns a .po file with a missing plural formula. |
| LocalePluralFormatTest::getPoFileWithSimplePlural |
function |
core/modules/locale/tests/src/Functional/LocalePluralFormatTest.php |
Returns a .po file with a simple plural formula. |
| LocalePluralFormatTest::importPoFile |
function |
core/modules/locale/tests/src/Functional/LocalePluralFormatTest.php |
Imports a standalone .po file in a given language. |
| LocalePluralFormatTest::setUp |
function |
core/modules/locale/tests/src/Functional/LocalePluralFormatTest.php |
|
| LocalePluralFormatTest::testGetPluralFormat |
function |
core/modules/locale/tests/src/Functional/LocalePluralFormatTest.php |
Tests locale_get_plural() and \Drupal::translation()->formatPlural(). |