Search for all

  1. Search 7.x for all
  2. Search 8.9.x for all
  3. Search 10.3.x for all
  4. Search 11.x for all
  5. Search main for all
  6. Other projects
Title Object type File name Summary
LocaleImportFunctionalTest::getPoFileWithEmptyMsgstr function core/modules/locale/tests/src/Functional/LocaleImportFunctionalTest.php Helper function that returns a .po file with an empty last item.
LocaleImportFunctionalTest::getPoFileWithMsgstr function core/modules/locale/tests/src/Functional/LocaleImportFunctionalTest.php Helper function that returns a .po file with an empty last item.
LocaleImportFunctionalTest::importPoFile function core/modules/locale/tests/src/Functional/LocaleImportFunctionalTest.php Helper function: import a standalone .po file in a given language.
LocaleImportFunctionalTest::setUp function core/modules/locale/tests/src/Functional/LocaleImportFunctionalTest.php
LocaleImportFunctionalTest::testConfigPoFile function core/modules/locale/tests/src/Functional/LocaleImportFunctionalTest.php Tests .po file import with configuration translation.
LocaleImportFunctionalTest::testConfigTranslationImportingPoFile function core/modules/locale/tests/src/Functional/LocaleImportFunctionalTest.php Tests .po file import with user.settings configuration.
LocaleImportFunctionalTest::testCreatedLanguageTranslation function core/modules/locale/tests/src/Functional/LocaleImportFunctionalTest.php Tests the translation are imported when a new language is created.
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 enable.
LocaleJavascriptTranslationTest::testFileParsing function core/modules/locale/tests/src/Functional/LocaleJavascriptTranslationTest.php
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 enable.
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 @coversDefaultClass \Drupal\locale\LocaleLookup[[api-linebreak]]
@group locale
LocaleLookupTest.php file core/modules/locale/tests/src/Unit/LocaleLookupTest.php
LocaleLookupTest::$cache property core/modules/locale/tests/src/Unit/LocaleLookupTest.php A mocked cache object.
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.

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