111 string references to language_manager
- AccountForm::create in core/
modules/ user/ src/ AccountForm.php - 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 - BlockForm::create in core/
modules/ block/ src/ BlockForm.php - 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 - CommentStorage::createInstance in core/
modules/ comment/ src/ CommentStorage.php - CommentViewBuilder::createInstance in core/
modules/ comment/ src/ CommentViewBuilder.php - Config::create in core/
modules/ migrate/ src/ Plugin/ migrate/ destination/ Config.php - ConfigEntityBaseUnitTest::setUp in core/
tests/ Drupal/ Tests/ Core/ Config/ Entity/ ConfigEntityBaseUnitTest.php - ConfigEntityMapper::create in core/
modules/ config_translation/ src/ ConfigEntityMapper.php - Creates an instance of the plugin.
- ConfigEntityStorage::createInstance in core/
lib/ Drupal/ Core/ Config/ Entity/ ConfigEntityStorage.php - ConfigEntityStorageTest::setUp in core/
tests/ Drupal/ Tests/ Core/ Config/ Entity/ ConfigEntityStorageTest.php - @covers ::__construct
- ConfigNamesMapper::create in core/
modules/ config_translation/ src/ ConfigNamesMapper.php - Creates an instance of the plugin.
- ConfigTranslationController::create in core/
modules/ config_translation/ src/ Controller/ ConfigTranslationController.php - Instantiates a new instance of the implementing class using autowiring.
- 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 - ContentLanguageSettings::getAllValidDefaultLangcodes in core/
modules/ language/ src/ Entity/ ContentLanguageSettings.php - Returns all valid values for the `default_langcode` property.
- 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.
- 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().
- DateHelperTest::setUp in core/
tests/ Drupal/ Tests/ Core/ Datetime/ DateHelperTest.php - DateTest::setUp in core/
tests/ Drupal/ Tests/ Core/ Datetime/ DateTest.php - Drupal::languageManager in core/
lib/ Drupal.php - Returns the language manager service.
- DrupalDateTimeTest::testRfc2822DateFormat in core/
tests/ Drupal/ Tests/ Core/ Datetime/ DrupalDateTimeTest.php - Tests that an RFC2822 formatted date always returns an English string.
- DrupalTest::testLanguageManager in core/
tests/ Drupal/ Tests/ Core/ DrupalTest.php - Tests the languageManager() method.
- DuplicateTest::testDuplicateView in core/
modules/ views_ui/ tests/ src/ Functional/ DuplicateTest.php - Checks if duplicated view exists and has correct label.
- 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 - EntityField::create in core/
modules/ views/ src/ Plugin/ views/ field/ EntityField.php - 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 - EntityUnitTest::setUp in core/
tests/ Drupal/ Tests/ Core/ Entity/ EntityUnitTest.php - EntityUserRole::create in core/
modules/ user/ src/ Plugin/ migrate/ destination/ EntityUserRole.php - EntityViewBuilder::createInstance in core/
lib/ Drupal/ Core/ Entity/ EntityViewBuilder.php - 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/ src/ Plugin/ Search/ HelpSearch.php - HelpTopicSection::create in core/
modules/ help/ 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 - KeyValueEntityStorageTest::setUpKeyValueEntityStorage in core/
tests/ Drupal/ Tests/ Core/ Entity/ KeyValueStore/ KeyValueEntityStorageTest.php - Prepares the key value entity storage.
- Language::create in core/
modules/ language/ src/ Plugin/ Condition/ Language.php - Creates an instance of the plugin.
- Language::create in core/
modules/ ckeditor5/ src/ Plugin/ CKEditor5Plugin/ Language.php - LanguageBlock::create in core/
modules/ language/ src/ Plugin/ Block/ LanguageBlock.php - Creates an instance of the plugin.
- LanguageFilter::create in core/
modules/ views/ src/ Plugin/ views/ filter/ LanguageFilter.php - LanguageFormatter::create in core/
lib/ Drupal/ Core/ Field/ Plugin/ Field/ FieldFormatter/ LanguageFormatter.php - 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.
- LanguageNegotiationInfoTest::languageManager in core/
modules/ language/ tests/ src/ Functional/ LanguageNegotiationInfoTest.php - Returns the configurable language manager.
- 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 - Modifies existing service definitions.
- LanguageTestBase::setUp in core/
modules/ language/ tests/ src/ Kernel/ LanguageTestBase.php - LanguageTestController::create in core/
modules/ language/ tests/ language_test/ src/ Controller/ LanguageTestController.php - Instantiates a new instance of this class.
- LinkBase::create in core/
modules/ views/ src/ Plugin/ views/ field/ LinkBase.php - LocaleConfigSubscriberTest::setUp in core/
modules/ locale/ tests/ src/ Kernel/ LocaleConfigSubscriberTest.php - LocaleStringTest::createAllTranslations in core/
modules/ locale/ tests/ src/ Kernel/ LocaleStringTest.php - Creates translations for source string and all languages.
- MediaListBuilder::createInstance in core/
modules/ media/ src/ MediaListBuilder.php - Instantiates a new instance of this entity handler.
- MenuLinkContent::create in core/
modules/ menu_link_content/ src/ Plugin/ Menu/ MenuLinkContent.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.
- MigrateEntityContentBaseTest::testBundleFallbackForStub in core/
modules/ migrate/ tests/ src/ Kernel/ MigrateEntityContentBaseTest.php - Tests bundle is properly provided for stubs without bundle support.
- 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.
- 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.
- 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 - 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 - PathPluginBaseTest::setupContainer in core/
modules/ views/ tests/ src/ Unit/ Plugin/ display/ PathPluginBaseTest.php - Setup access plugin manager and config factory in the Drupal class.
- 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.
- SqlContentEntityStorage::createInstance in core/
lib/ Drupal/ Core/ Entity/ Sql/ SqlContentEntityStorage.php - TranslateFormBase::create in core/
modules/ locale/ src/ Form/ TranslateFormBase.php - Instantiates a new instance of this class.
- UpdateMailTest::testUpdateEmail in core/
modules/ update/ tests/ src/ Unit/ UpdateMailTest.php - Test the subject and body of update text.
- UserLangcode::create in core/
modules/ user/ src/ Plugin/ migrate/ process/ UserLangcode.php - UserPasswordForm::create in core/
modules/ user/ src/ Form/ UserPasswordForm.php - VersionHistoryController::create in core/
lib/ Drupal/ Core/ Entity/ Controller/ VersionHistoryController.php - ViewDuplicateForm::create in core/
modules/ views_ui/ src/ ViewDuplicateForm.php - ViewsQueryAlter::create in core/
modules/ workspaces/ src/ ViewsQueryAlter.php
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.