19 calls to ConfigurableLanguage::createFromLangcode()
- ConfigurableLanguageValidationTest::setUp in core/
modules/ language/ tests/ src/ Kernel/ ConfigurableLanguageValidationTest.php - ContextualDynamicContextTest::testDifferentPermissions in core/
modules/ contextual/ tests/ src/ Functional/ ContextualDynamicContextTest.php - Tests contextual links with different permissions.
- EntityViewBuilderTest::testViewField in core/
tests/ Drupal/ KernelTests/ Core/ Entity/ EntityViewBuilderTest.php - Tests EntityViewBuilder::viewField() language awareness.
- ImportForm::submitForm in core/
modules/ locale/ src/ Form/ ImportForm.php - 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 - LanguageTestTrait::createLanguageFromLangcode in core/
modules/ language/ tests/ src/ Traits/ LanguageTestTrait.php - Creates a configurable language object from a langcode.
- 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.
- WorkspaceContentTranslationTest::setUp in core/
modules/ workspaces/ tests/ src/ Kernel/ WorkspaceContentTranslationTest.php - WorkspaceIntegrationTest::setUp in core/
modules/ workspaces/ tests/ src/ Kernel/ WorkspaceIntegrationTest.php - WorkspaceViewsIntegrationTest::setUp in core/
modules/ workspaces/ tests/ src/ Kernel/ WorkspaceViewsIntegrationTest.php
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.