141 string references to language_manager in Drupal 10
- AccountForm::create in core/
modules/ user/ src/ AccountForm.php - Instantiates a new instance of this class.
- AliasTest::testWhitelist in core/
modules/ path_alias/ tests/ src/ Kernel/ AliasTest.php - Tests the alias whitelist.
- BaseFieldOverrideStorage::createInstance in core/
lib/ Drupal/ Core/ Field/ BaseFieldOverrideStorage.php - Instantiates a new instance of this entity handler.
- BlockContentTranslationUITest::doTestTranslationEdit in core/
modules/ block_content/ tests/ src/ Functional/ BlockContentTranslationUITest.php - BlockForm::create in core/
modules/ block/ src/ BlockForm.php - Instantiates a new instance of this class.
- BookMultilingualTest::setCurrentLanguage in core/
modules/ book/ tests/ src/ Kernel/ BookMultilingualTest.php - Sets the current language.
- BulkForm::create in core/
modules/ views/ src/ Plugin/ views/ field/ BulkForm.php - CKEditor5::create in core/
modules/ ckeditor5/ src/ Plugin/ Editor/ CKEditor5.php - CKEditor::create in core/
modules/ ckeditor/ src/ Plugin/ Editor/ CKEditor.php - CKEditorTest::assertCKEditorLanguage in core/
modules/ ckeditor/ tests/ src/ Kernel/ CKEditorTest.php - Assert that CKEditor picks the expected language when French is default.
- CommentLanguageTest::testCommentLanguage in core/
modules/ comment/ tests/ src/ Functional/ CommentLanguageTest.php - Tests that comment language is properly set.
- CommentStorage::createInstance in core/
modules/ comment/ src/ CommentStorage.php - Instantiates a new instance of this entity handler.
- CommentTranslationUITest::doTestAuthoringInfo in core/
modules/ comment/ tests/ src/ Functional/ CommentTranslationUITest.php - CommentTranslationUITest::doTestTranslationEdit in core/
modules/ comment/ tests/ src/ Functional/ CommentTranslationUITest.php - CommentViewBuilder::createInstance in core/
modules/ comment/ src/ CommentViewBuilder.php - Instantiates a new instance of this entity handler.
- Config::create in core/
modules/ migrate/ src/ Plugin/ migrate/ destination/ Config.php - Creates an instance of the plugin.
- ConfigEntityBaseUnitTest::setUp in core/
tests/ Drupal/ Tests/ Core/ Config/ Entity/ ConfigEntityBaseUnitTest.php - ConfigEntityMapper::create in core/
modules/ config_translation/ src/ ConfigEntityMapper.php - ConfigEntityStorage::createInstance in core/
lib/ Drupal/ Core/ Config/ Entity/ ConfigEntityStorage.php - Instantiates a new instance of this entity handler.
- ConfigEntityStorageTest::setUp in core/
tests/ Drupal/ Tests/ Core/ Config/ Entity/ ConfigEntityStorageTest.php - @covers ::__construct
- ConfigNamesMapper::create in core/
modules/ config_translation/ src/ ConfigNamesMapper.php - ConfigTranslationController::create in core/
modules/ config_translation/ src/ Controller/ ConfigTranslationController.php - Instantiates a new instance of this class.
- ConfigTranslationDeleteForm::create in core/
modules/ config_translation/ src/ Form/ ConfigTranslationDeleteForm.php - Instantiates a new instance of this class.
- ConfigTranslationFormBase::create in core/
modules/ config_translation/ src/ Form/ ConfigTranslationFormBase.php - Instantiates a new instance of this class.
- ConfigurableLanguageManagerTest::setUp in core/
modules/ language/ tests/ src/ Kernel/ ConfigurableLanguageManagerTest.php - ContentEntityBaseUnitTest::setUp in core/
tests/ Drupal/ Tests/ Core/ Entity/ ContentEntityBaseUnitTest.php - ContentTranslationHandler::createInstance in core/
modules/ content_translation/ src/ ContentTranslationHandler.php - ContentTranslationLinkTagTest::testCanonicalAlternateTags in core/
modules/ content_translation/ tests/ src/ Functional/ ContentTranslationLinkTagTest.php - Tests alternate link tag found for entity types with canonical links.
- ContentTranslationUITestBase::doTestTranslationEdit in core/
modules/ content_translation/ tests/ src/ Functional/ ContentTranslationUITestBase.php - Tests edit content translation.
- ContentTranslationWorkflowsTest::doTestWorkflows in core/
modules/ content_translation/ tests/ src/ Functional/ ContentTranslationWorkflowsTest.php - Checks that workflows have the expected behaviors for the given user.
- ControllerBase::languageManager in core/
lib/ Drupal/ Core/ Controller/ ControllerBase.php - Returns the language manager service.
- DataEntityRow::create in core/
modules/ rest/ src/ Plugin/ views/ row/ DataEntityRow.php - DateFormatterTest::testFormat in core/
tests/ Drupal/ KernelTests/ Core/ Datetime/ DateFormatterTest.php - Tests DateFormatter::format().
- Drupal::languageManager in core/
lib/ Drupal.php - Returns the language manager service.
- DrupalTest::testLanguageManager in core/
tests/ Drupal/ Tests/ Core/ DrupalTest.php - Tests the languageManager() method.
- EmailAction::create in core/
lib/ Drupal/ Core/ Action/ Plugin/ Action/ EmailAction.php - EntityAdapterUnitTest::setUp in core/
tests/ Drupal/ Tests/ Core/ Entity/ TypedData/ EntityAdapterUnitTest.php - EntityConfigBase::create in core/
modules/ migrate/ src/ Plugin/ migrate/ destination/ EntityConfigBase.php - Creates an instance of the plugin.
- EntityFormDisplayAccessControlHandlerTest::setUp in core/
tests/ Drupal/ Tests/ Core/ Entity/ Access/ EntityFormDisplayAccessControlHandlerTest.php - EntityLanguageTestBase::setUp in core/
tests/ Drupal/ KernelTests/ Core/ Entity/ EntityLanguageTestBase.php - EntityLinkTest::setUp in core/
tests/ Drupal/ Tests/ Core/ Entity/ EntityLinkTest.php - EntityOperations::create in core/
modules/ views/ src/ Plugin/ views/ field/ EntityOperations.php - EntityRow::create in core/
modules/ views/ src/ Plugin/ views/ row/ EntityRow.php - EntitySearchPage::create in core/
modules/ search/ src/ Plugin/ migrate/ destination/ EntitySearchPage.php - Creates an instance of the plugin.
- EntityUnitTest::setUp in core/
tests/ Drupal/ Tests/ Core/ Entity/ EntityUnitTest.php - EntityViewBuilder::createInstance in core/
lib/ Drupal/ Core/ Entity/ EntityViewBuilder.php - Instantiates a new instance of this entity handler.
- ExportForm::create in core/
modules/ locale/ src/ Form/ ExportForm.php - Instantiates a new instance of this class.
- FieldConfigStorage::createInstance in core/
modules/ field/ src/ FieldConfigStorage.php - Instantiates a new instance of this entity handler.
- FieldStorageConfigStorage::createInstance in core/
modules/ field/ src/ FieldStorageConfigStorage.php - Instantiates a new instance of this entity handler.
- HelpSearch::create in core/
modules/ help_topics/ src/ Plugin/ Search/ HelpSearch.php - HelpTopicSection::create in core/
modules/ help_topics/ src/ Plugin/ HelpSection/ HelpTopicSection.php - ImageStylesPathAndUrlTest::doImageStyleUrlAndPathTests in core/
modules/ image/ tests/ src/ Functional/ ImageStylesPathAndUrlTest.php - Tests building an image style URL.
- ImportForm::create in core/
modules/ locale/ src/ Form/ ImportForm.php - Instantiates a new instance of this class.
- KeyValueEntityStorage::createInstance in core/
lib/ Drupal/ Core/ Entity/ KeyValueStore/ KeyValueEntityStorage.php - Instantiates a new instance of this entity handler.
- Language::create in core/
modules/ language/ src/ Plugin/ Condition/ Language.php - LanguageBlock::create in core/
modules/ language/ src/ Plugin/ Block/ LanguageBlock.php - LanguageFilter::create in core/
modules/ views/ src/ Plugin/ views/ filter/ LanguageFilter.php - Creates an instance of the plugin.
- LanguageFormatter::create in core/
lib/ Drupal/ Core/ Field/ Plugin/ Field/ FieldFormatter/ LanguageFormatter.php - Creates an instance of the plugin.
- LanguageFormBase::create in core/
modules/ language/ src/ Form/ LanguageFormBase.php - Instantiates a new instance of this class.
- LanguageListBuilder::createInstance in core/
modules/ language/ src/ LanguageListBuilder.php - Instantiates a new instance of this entity handler.
- LanguageListTest::testLanguageList in core/
modules/ language/ tests/ src/ Functional/ LanguageListTest.php - Functional tests for adding, editing and deleting languages.
- LanguageListTest::testLanguageStates in core/
modules/ language/ tests/ src/ Functional/ LanguageListTest.php - Functional tests for the language states (locked or configurable).
- LanguageNegotiationInfoTest::languageManager in core/
modules/ language/ tests/ src/ Functional/ LanguageNegotiationInfoTest.php - Returns the configurable language manager.
- LanguagePathMonolingualTest::setUp in core/
modules/ language/ tests/ src/ Functional/ LanguagePathMonolingualTest.php - LanguageSelectElementTest::testLanguageSelectElementOptions in core/
modules/ system/ tests/ src/ Functional/ Form/ LanguageSelectElementTest.php - Tests that the options printed by the language select element are correct.
- LanguageServiceProvider::alter in core/
modules/ language/ src/ LanguageServiceProvider.php - LanguageServiceProvider::register in core/
modules/ language/ src/ LanguageServiceProvider.php - LanguageSwitchingTest::testLanguageBlockWithDomain in core/
modules/ language/ tests/ src/ Functional/ LanguageSwitchingTest.php - Tests language switcher links for domain based negotiation.
- LanguageTestBase::setUp in core/
modules/ language/ tests/ src/ Kernel/ LanguageTestBase.php - LanguageTestController::create in core/
modules/ language/ tests/ language_test/ src/ Controller/ LanguageTestController.php - LanguageUILanguageNegotiationTest::doRunTest in core/
modules/ language/ tests/ src/ Functional/ LanguageUILanguageNegotiationTest.php - LanguageUILanguageNegotiationTest::testLanguageDomain in core/
modules/ language/ tests/ src/ Functional/ LanguageUILanguageNegotiationTest.php - Tests URL handling when separate domains are used for multiple languages.
- LanguageUILanguageNegotiationTest::testUrlLanguageFallback in core/
modules/ language/ tests/ src/ Functional/ LanguageUILanguageNegotiationTest.php - Tests URL language detection when the requested URL has no language.
- LanguageUrlRewritingTest::testDomainNameNegotiationPort in core/
modules/ language/ tests/ src/ Functional/ LanguageUrlRewritingTest.php - Check URL rewriting when using a domain name and a non-standard port.
- LinkBase::create in core/
modules/ views/ src/ Plugin/ views/ field/ LinkBase.php - LocaleConfigSubscriberTest::setUp in core/
modules/ locale/ tests/ src/ Kernel/ LocaleConfigSubscriberTest.php - LocaleConfigurableLanguageManagerTest::testGetLanguages in core/
modules/ locale/ tests/ src/ Kernel/ LocaleConfigurableLanguageManagerTest.php - LocaleStringTest::createAllTranslations in core/
modules/ locale/ tests/ src/ Kernel/ LocaleStringTest.php - Creates translations for source string and all languages.
- LocaleTranslationUiTest::testJavaScriptTranslation in core/
modules/ locale/ tests/ src/ Functional/ LocaleTranslationUiTest.php - Adds a language and checks that the JavaScript translation files are properly created and rebuilt on deletion.
- LocaleUpdateBase::addLanguage in core/
modules/ locale/ tests/ src/ Functional/ LocaleUpdateBase.php - Adds a language.
- MachineNameTest::testProcessMachineName in core/
tests/ Drupal/ Tests/ Core/ Render/ Element/ MachineNameTest.php - @covers ::processMachineName
- MediaListBuilder::createInstance in core/
modules/ media/ src/ MediaListBuilder.php - Instantiates a new instance of this entity handler.
- MediaTranslationTest::testTranslatableFieldSaveLoad in core/
modules/ media/ tests/ src/ Kernel/ MediaTranslationTest.php - Tests translatable fields storage/retrieval.
- MenuLinkContent::create in core/
modules/ menu_link_content/ src/ Plugin/ Menu/ MenuLinkContent.php - MenuLinkContentForm::create in core/
modules/ menu_link_content/ src/ Form/ MenuLinkContentForm.php - Instantiates a new instance of this class.
- MenuLinkContentTranslationUITest::doTestTranslationEdit in core/
modules/ menu_link_content/ tests/ src/ Functional/ MenuLinkContentTranslationUITest.php - MessageForm::create in core/
modules/ contact/ src/ MessageForm.php - Instantiates a new instance of this class.
- MigrateBlockContentTranslationTest::testBlockContentTranslation in core/
modules/ block/ tests/ src/ Kernel/ Migrate/ d6/ MigrateBlockContentTranslationTest.php - Tests the migration of block title translation.
- MigrateBlockContentTranslationTest::testBlockContentTranslation in core/
modules/ block/ tests/ src/ Kernel/ Migrate/ d7/ MigrateBlockContentTranslationTest.php - Tests the migration of block title translation.
- MigrateConfigRollbackTest::testConfigRollback in core/
modules/ migrate/ tests/ src/ Kernel/ MigrateConfigRollbackTest.php - Tests rolling back configuration.
- MigrateFieldInstanceLabelDescriptionTest::testFieldInstanceLabelDescriptionTranslationMigration in core/
modules/ field/ tests/ src/ Kernel/ Migrate/ d6/ MigrateFieldInstanceLabelDescriptionTest.php - Tests migration of field label and description translations.
- MigrateFieldInstanceLabelDescriptionTest::testFieldInstanceLabelDescriptionTranslationMigration in core/
modules/ field/ tests/ src/ Kernel/ Migrate/ d7/ MigrateFieldInstanceLabelDescriptionTest.php - Tests migration of file variables to file.settings.yml.
- MigrateFieldInstanceOptionTranslationTest::testFieldInstanceOptionTranslation in core/
modules/ field/ tests/ src/ Kernel/ Migrate/ d6/ MigrateFieldInstanceOptionTranslationTest.php - Tests migration of file variables to file.settings.yml.
- MigrateFieldInstanceOptionTranslationTest::testFieldInstanceOptionTranslation in core/
modules/ field/ tests/ src/ Kernel/ Migrate/ d7/ MigrateFieldInstanceOptionTranslationTest.php - Migrate field instance option translations.
- MigrateFieldOptionTranslationTest::testFieldOptionTranslation in core/
modules/ field/ tests/ src/ Kernel/ Migrate/ d6/ MigrateFieldOptionTranslationTest.php - Tests the Drupal 6 field to Drupal 8 migration.
- MigrateFieldOptionTranslationTest::testFieldOptionTranslation in core/
modules/ field/ tests/ src/ Kernel/ Migrate/ d7/ MigrateFieldOptionTranslationTest.php - Tests the Drupal 7 field option translation to Drupal 8 migration.
- MigrateMenuTranslationTest::testMenuTranslation in core/
modules/ system/ tests/ src/ Kernel/ Migrate/ d7/ MigrateMenuTranslationTest.php - Tests migration of menu translations.
- MigrateProfileFieldOptionTranslationTest::testFieldOptionTranslation in core/
modules/ user/ tests/ src/ Kernel/ Migrate/ d6/ MigrateProfileFieldOptionTranslationTest.php - Tests the Drupal 6 field option translation.
- MigrateRollbackEntityConfigTest::testConfigEntityRollback in core/
modules/ migrate/ tests/ src/ Kernel/ MigrateRollbackEntityConfigTest.php - Tests rolling back configuration entity translations.
- MigrateSystemMaintenanceTranslationTest::testSystemMaintenance in core/
modules/ config_translation/ tests/ src/ Kernel/ Migrate/ d6/ MigrateSystemMaintenanceTranslationTest.php - Tests migration of system variables to system.maintenance.yml.
- MigrateSystemMaintenanceTranslationTest::testSystemMaintenance in core/
modules/ config_translation/ tests/ src/ Kernel/ Migrate/ d7/ MigrateSystemMaintenanceTranslationTest.php - Tests migrations of i18n maintenance variable.
- MigrateSystemSiteTranslationTest::testSystemSite in core/
modules/ config_translation/ tests/ src/ Kernel/ Migrate/ d6/ MigrateSystemSiteTranslationTest.php - Tests migration of system (site) variables to system.site.yml.
- MigrateSystemSiteTranslationTest::testSystemSite in core/
modules/ config_translation/ tests/ src/ Kernel/ Migrate/ d7/ MigrateSystemSiteTranslationTest.php - Tests migration of system (site) variables to system.site.yml.
- MigrateTaxonomyVocabularyTranslationTest::testTaxonomyVocabularyTranslation in core/
modules/ taxonomy/ tests/ src/ Kernel/ Migrate/ d6/ MigrateTaxonomyVocabularyTranslationTest.php - Tests the Drupal 6 i18n taxonomy vocabularies to Drupal 8 migration.
- MigrateTaxonomyVocabularyTranslationTest::testTaxonomyVocabularyTranslation in core/
modules/ taxonomy/ tests/ src/ Kernel/ Migrate/ d7/ MigrateTaxonomyVocabularyTranslationTest.php - Tests the Drupal 7 i18n taxonomy vocabularies to Drupal 8 migration.
- MigrateUserConfigsTranslationTest::testUserConfig in core/
modules/ config_translation/ tests/ src/ Kernel/ Migrate/ d7/ MigrateUserConfigsTranslationTest.php - Tests migration of i18n user variables to user.mail and user.settings.
- MigrateUserConfigsTranslationTest::testUserMail in core/
modules/ config_translation/ tests/ src/ Kernel/ Migrate/ d6/ MigrateUserConfigsTranslationTest.php - Tests migration of i18n user variables to user.mail.yml.
- MigrateUserProfileFieldInstanceTranslationTest::testUserProfileFields in core/
modules/ config_translation/ tests/ src/ Kernel/ Migrate/ d6/ MigrateUserProfileFieldInstanceTranslationTest.php - Tests migration of translated user profile fields.
- MigrateUserTest::assertEntity in core/
modules/ user/ tests/ src/ Kernel/ Migrate/ d7/ MigrateUserTest.php - Asserts various aspects of a user account.
- MigrateUserTest::testUser in core/
modules/ user/ tests/ src/ Kernel/ Migrate/ d6/ MigrateUserTest.php - Tests the Drupal6 user to Drupal 8 migration.
- NegotiationBrowserForm::create in core/
modules/ language/ src/ Form/ NegotiationBrowserForm.php - Instantiates a new instance of this class.
- NegotiationConfigureForm::create in core/
modules/ language/ src/ Form/ NegotiationConfigureForm.php - Instantiates a new instance of this class.
- NegotiationUrlForm::create in core/
modules/ language/ src/ Form/ NegotiationUrlForm.php - Instantiates a new instance of this class.
- NodeRevisionRevertTranslationForm::create in core/
modules/ node/ src/ Form/ NodeRevisionRevertTranslationForm.php - NodeSearch::create in core/
modules/ node/ src/ Plugin/ Search/ NodeSearch.php - NodeServiceProvider::register in core/
modules/ node/ src/ NodeServiceProvider.php - NodeTranslationUITest::doTestAlternateHreflangLinks in core/
modules/ node/ tests/ src/ Functional/ NodeTranslationUITest.php - Tests that the given path provides the correct alternate hreflang links.
- NodeTranslationUITest::doTestAuthoringInfo in core/
modules/ node/ tests/ src/ Functional/ NodeTranslationUITest.php - NodeTranslationUITest::doTestPublishedStatus in core/
modules/ node/ tests/ src/ Functional/ NodeTranslationUITest.php - NodeTranslationUITest::doTestTranslationEdit in core/
modules/ node/ tests/ src/ Functional/ NodeTranslationUITest.php - NodeTranslationUITest::doTestTranslations in core/
modules/ node/ tests/ src/ Functional/ NodeTranslationUITest.php - Tests that the given path displays the correct translation values.
- OverriddenConfigImportTest::testConfigImportUpdates in core/
modules/ language/ tests/ src/ Kernel/ OverriddenConfigImportTest.php - Tests importing overridden config alongside config in the default language.
- PathAliasListBuilder::createInstance in core/
modules/ path/ src/ PathAliasListBuilder.php - Instantiates a new instance of this entity handler.
- PathLanguageTest::testAliasTranslation in core/
modules/ path/ tests/ src/ Functional/ PathLanguageTest.php - Tests alias functionality through the admin interfaces.
- RenderedEntity::create in core/
modules/ views/ src/ Plugin/ views/ field/ RenderedEntity.php - SeparatorTranslationTest::testSeparatorTranslation in core/
modules/ datetime_range/ tests/ src/ Kernel/ SeparatorTranslationTest.php - Tests the translation of the range separator.
- ShortcutSetStorage::createInstance in core/
modules/ shortcut/ src/ ShortcutSetStorage.php - Instantiates a new instance of this entity handler.
- ShortcutTranslationUITest::doTestTranslationEdit in core/
modules/ shortcut/ tests/ src/ Functional/ ShortcutTranslationUITest.php - SqlContentEntityStorage::createInstance in core/
lib/ Drupal/ Core/ Entity/ Sql/ SqlContentEntityStorage.php - Instantiates a new instance of this entity handler.
- TermTranslationUITest::doTestPublishedStatus in core/
modules/ taxonomy/ tests/ src/ Functional/ TermTranslationUITest.php - TermTranslationUITest::doTestTranslationEdit in core/
modules/ taxonomy/ tests/ src/ Functional/ TermTranslationUITest.php - TranslateFormBase::create in core/
modules/ locale/ src/ Form/ TranslateFormBase.php - Instantiates a new instance of this class.
- TranslationTest::testTranslatableFieldSaveLoad in core/
modules/ field/ tests/ src/ Kernel/ TranslationTest.php - Tests translatable fields storage/retrieval.
- TranslationWebTest::testFieldFormTranslationRevisions in core/
modules/ field/ tests/ src/ Functional/ TranslationWebTest.php - Tests field translations when creating a new revision.
- TwigTransTest::installLanguages in core/
modules/ system/ tests/ src/ Functional/ Theme/ TwigTransTest.php - Helper function: install languages.
- UserLangcode::create in core/
modules/ user/ src/ Plugin/ migrate/ process/ UserLangcode.php - Creates an instance of the plugin.
- UserMailNotifyTest::testUserRecoveryMailLanguage in core/
modules/ user/ tests/ src/ Kernel/ UserMailNotifyTest.php - Tests recovery email content and token langcode is aligned.
- UserPasswordForm::create in core/
modules/ user/ src/ Form/ UserPasswordForm.php - Instantiates a new instance of this class.
- UserTranslationUITest::doTestTranslationEdit in core/
modules/ user/ tests/ src/ Functional/ UserTranslationUITest.php - UserTranslationUITest::testTranslatedUserDeletion in core/
modules/ user/ tests/ src/ Functional/ UserTranslationUITest.php - Tests translated user deletion.
- ViewsQueryAlter::create in core/
modules/ workspaces/ src/ ViewsQueryAlter.php