Search for all

  1. Search 7.x for all
  2. Search 9.5.x for all
  3. Search 8.9.x for all
  4. Search 10.3.x for all
  5. Search 11.x for all
  6. Other projects
Title Object type File name Summary
LocaleImportFunctionalTest::testEmptyMsgstr function core/modules/locale/tests/src/Functional/LocaleImportFunctionalTest.php Tests empty msgstr at end of .po file see #611786.
LocaleImportFunctionalTest::testLanguageContext function core/modules/locale/tests/src/Functional/LocaleImportFunctionalTest.php Tests msgctxt context support.
LocaleImportFunctionalTest::testStandalonePoFile function core/modules/locale/tests/src/Functional/LocaleImportFunctionalTest.php Tests import of standalone .po files.
LocaleJavascriptTranslationTest class core/modules/locale/tests/src/Functional/LocaleJavascriptTranslationTest.php Tests parsing js files for translatable strings.
LocaleJavascriptTranslationTest.php file core/modules/locale/tests/src/Functional/LocaleJavascriptTranslationTest.php
LocaleJavascriptTranslationTest::$defaultTheme property core/modules/locale/tests/src/Functional/LocaleJavascriptTranslationTest.php The theme to install as the default for testing.
LocaleJavascriptTranslationTest::$modules property core/modules/locale/tests/src/Functional/LocaleJavascriptTranslationTest.php Modules to install.
LocaleJavascriptTranslationTest::testFileParsing function core/modules/locale/tests/src/Functional/LocaleJavascriptTranslationTest.php Tests file parsing.
LocaleJavascriptTranslationTest::testLocaleTranslationJsDependencies function core/modules/locale/tests/src/Functional/LocaleJavascriptTranslationTest.php Assert translations JS is added before drupal.js, because it depends on it.
LocaleLocaleLookupTest class core/modules/locale/tests/src/Functional/LocaleLocaleLookupTest.php Tests LocaleLookup.
LocaleLocaleLookupTest.php file core/modules/locale/tests/src/Functional/LocaleLocaleLookupTest.php
LocaleLocaleLookupTest::$defaultTheme property core/modules/locale/tests/src/Functional/LocaleLocaleLookupTest.php The theme to install as the default for testing.
LocaleLocaleLookupTest::$modules property core/modules/locale/tests/src/Functional/LocaleLocaleLookupTest.php Modules to install.
LocaleLocaleLookupTest::providerTestFixOldPluralStyle function core/modules/locale/tests/src/Functional/LocaleLocaleLookupTest.php Provides data for testFixOldPluralStyle().
LocaleLocaleLookupTest::setUp function core/modules/locale/tests/src/Functional/LocaleLocaleLookupTest.php
LocaleLocaleLookupTest::testCircularDependency function core/modules/locale/tests/src/Functional/LocaleLocaleLookupTest.php Tests that there are no circular dependencies.
LocaleLocaleLookupTest::testFixOldPluralStyle function core/modules/locale/tests/src/Functional/LocaleLocaleLookupTest.php Tests old plural style @count[number] fix.
LocaleLocaleLookupTest::testLanguageFallbackDefaults function core/modules/locale/tests/src/Functional/LocaleLocaleLookupTest.php Tests language fallback defaults.
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.
LocaleLookup class core/modules/locale/src/LocaleLookup.php A cache collector to allow for dynamic building of the locale cache.
LocaleLookup.php file core/modules/locale/src/LocaleLookup.php
LocaleLookup::$cache property core/modules/locale/src/LocaleLookup.php The cache backend that should be used.
LocaleLookup::$configFactory property core/modules/locale/src/LocaleLookup.php The configuration factory.
LocaleLookup::$context property core/modules/locale/src/LocaleLookup.php The msgctxt context.
LocaleLookup::$langcode property core/modules/locale/src/LocaleLookup.php A language code.
LocaleLookup::$languageManager property core/modules/locale/src/LocaleLookup.php The language manager.
LocaleLookup::$lock property core/modules/locale/src/LocaleLookup.php The lock backend that should be used.
LocaleLookup::$requestStack property core/modules/locale/src/LocaleLookup.php The request stack.
LocaleLookup::$stringStorage property core/modules/locale/src/LocaleLookup.php The locale storage.
LocaleLookup::getCid function core/modules/locale/src/LocaleLookup.php Gets the cache ID.
LocaleLookup::resolveCacheMiss function core/modules/locale/src/LocaleLookup.php Resolves a cache miss.
LocaleLookup::__construct function core/modules/locale/src/LocaleLookup.php Constructs a LocaleLookup object.
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.

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