You are here

14 calls to ConfigurableLanguage::createFromLangcode() in Drupal 9

ContextualDynamicContextTest::testDifferentPermissions in core/modules/contextual/tests/src/Functional/ContextualDynamicContextTest.php
Tests contextual links with different permissions.
ImportForm::submitForm in core/modules/locale/src/Form/ImportForm.php
Form submission handler.
install_download_additional_translations_operations in core/includes/install.core.inc
Prepares the system for import and downloads additional translations.
JsonApiFunctionalMultilingualTest::setUp in core/modules/jsonapi/tests/src/Functional/JsonApiFunctionalMultilingualTest.php
LanguageConfigurationTest::testLanguageConfiguration in core/modules/language/tests/src/Functional/LanguageConfigurationTest.php
Functional tests for adding, editing and deleting languages.
LanguageDependencyInjectionTest::testDependencyInjectedNewDefaultLanguage in core/modules/language/tests/src/Kernel/LanguageDependencyInjectionTest.php
Tests dependency injected Language object.
LanguageFallbackTest::setUp in core/modules/language/tests/src/Kernel/LanguageFallbackTest.php
LocaleConfigManagerTest::testGetDefaultConfigLangcode in core/modules/locale/tests/src/Kernel/LocaleConfigManagerTest.php
Tests getDefaultConfigLangcode().
LocaleConfigManagerTest::testGetStringTranslation in core/modules/locale/tests/src/Kernel/LocaleConfigManagerTest.php
Tests getStringTranslation().
LocaleConfigManagerTest::testHasTranslation in core/modules/locale/tests/src/Kernel/LocaleConfigManagerTest.php
Tests hasTranslation().
RouteProviderTest::testRouteCaching in core/tests/Drupal/KernelTests/Core/Routing/RouteProviderTest.php
Tests that route caching works.
ToolbarAdminMenuTest::testLanguageSwitching in core/modules/toolbar/tests/src/Functional/ToolbarAdminMenuTest.php
Tests that subtrees hashes vary by the language of the page.
UpcastingTest::testEntityLanguage in core/modules/system/tests/src/Functional/ParamConverter/UpcastingTest.php
Confirms entity is shown in user's language by default.
WorkspaceIntegrationTest::setUp in core/modules/workspaces/tests/src/Kernel/WorkspaceIntegrationTest.php