104 string references to language_manager

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.
BlockForm::create in core/modules/block/src/BlockForm.php
Instantiates a new instance of this class.
BulkForm::create in core/modules/views/src/Plugin/views/field/BulkForm.php
Creates an instance of the plugin.
CKEditor::create in core/modules/ckeditor/src/Plugin/Editor/CKEditor.php
Creates an instance of the plugin.
CKEditorTest::testConstructorDeprecation in core/modules/ckeditor/tests/src/Kernel/CKEditorTest.php
@deprecationMessage Calling CKEditor::__construct() without the $state argument is deprecated in drupal:8.8.0. The $state argument is required in drupal:9.0.0. See https://www.drupal.org/node/3075102. @group legacy
CommentStorage::createInstance in core/modules/comment/src/CommentStorage.php
Instantiates a new instance of this entity handler.
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
Creates an instance of the plugin.
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
Creates an instance of the plugin.
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
Instantiates a new instance of this entity handler.
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.
CoreServiceProvider::alter in core/lib/Drupal/Core/CoreServiceProvider.php
Alters the UUID service to use the most efficient method available.
DataEntityRow::create in core/modules/rest/src/Plugin/views/row/DataEntityRow.php
Creates an instance of the plugin.
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
Creates an instance of the plugin.
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.
EntityConverterTest::testDeprecatedLanguageManagerMethod in core/tests/Drupal/Tests/Core/ParamConverter/EntityConverterTest.php
Tests that retrieving the language manager triggers a deprecation error.
EntityConverterTest::testDeprecatedLanguageManagerProperty in core/tests/Drupal/Tests/Core/ParamConverter/EntityConverterTest.php
Tests that retrieving the language manager triggers a deprecation error.
EntityField::create in core/modules/views/src/Plugin/views/field/EntityField.php
Creates an instance of the plugin.
EntityFieldStorageConfig::create in core/modules/migrate_drupal/src/Plugin/migrate/destination/EntityFieldStorageConfig.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
Creates an instance of the plugin.
EntityRow::create in core/modules/views/src/Plugin/views/row/EntityRow.php
Creates an instance of the plugin.
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.
FeedViewBuilder::createInstance in core/modules/aggregator/src/FeedViewBuilder.php
Instantiates a new instance of this entity handler.
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
Creates an instance of the plugin.
HelpTopicSection::create in core/modules/help_topics/src/Plugin/HelpSection/HelpTopicSection.php
Creates an instance of the plugin.
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.
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.
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
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.
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
Creates an instance of the plugin.
LinkBase::__construct in core/modules/views/src/Plugin/views/field/LinkBase.php
Constructs a LinkBase object.
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
Creates an instance of the plugin.
MenuLinkContentForm::create in core/modules/menu_link_content/src/Form/MenuLinkContentForm.php
Instantiates a new instance of this class.
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.
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.
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
Instantiates a new instance of this class.
NodeSearch::create in core/modules/node/src/Plugin/Search/NodeSearch.php
Creates an instance of the plugin.
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.
RenderedEntity::create in core/modules/views/src/Plugin/views/field/RenderedEntity.php
Creates an instance of the plugin.
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
Instantiates a new instance of this entity handler.
TranslateFormBase::create in core/modules/locale/src/Form/TranslateFormBase.php
Instantiates a new instance of this class.
UserLangcode::create in core/modules/user/src/Plugin/migrate/process/UserLangcode.php
Creates an instance of the plugin.
UserPasswordForm::create in core/modules/user/src/Form/UserPasswordForm.php
Instantiates a new instance of this class.
ViewsQueryAlter::create in core/modules/workspaces/src/ViewsQueryAlter.php
Instantiates a new instance of this class.

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