You are here

52 string references to string_translation in Drupal 9

BaseFieldDefinitionTestBase::setUp in core/tests/Drupal/Tests/Core/Field/BaseFieldDefinitionTestBase.php
BookManagerDeprecationTest::testOptionalParametersDeprecation in core/modules/book/tests/src/Kernel/BookManagerDeprecationTest.php
@covers ::__construct
CommentBulkFormTest::testConstructor in core/modules/comment/tests/src/Unit/Plugin/views/field/CommentBulkFormTest.php
Tests the constructor assignment of actions.
ConfigEntityMapper::create in core/modules/config_translation/src/ConfigEntityMapper.php
Creates an instance of the plugin.
ConfigImporterMissingContentTest::setUp in core/tests/Drupal/KernelTests/Core/Config/ConfigImporterMissingContentTest.php
ConfigImporterTest::setUp in core/tests/Drupal/KernelTests/Core/Config/ConfigImporterTest.php
ConfigImportRecreateTest::setUp in core/tests/Drupal/KernelTests/Core/Config/ConfigImportRecreateTest.php
ConfigImportRenameValidationTest::setUp in core/tests/Drupal/KernelTests/Core/Config/ConfigImportRenameValidationTest.php
ConfigNamesMapper::create in core/modules/config_translation/src/ConfigNamesMapper.php
Creates an instance of the plugin.
ConfigTestTrait::configImporter in core/tests/Drupal/Tests/ConfigTestTrait.php
Returns a ConfigImporter object to import test configuration.
ConfigUninstallViaCliImportTest::setUp in core/modules/config/tests/src/Kernel/ConfigUninstallViaCliImportTest.php
ContentEntityNullStorageTest::testDeleteThroughImport in core/tests/Drupal/KernelTests/Core/Entity/ContentEntityNullStorageTest.php
Tests deleting a contact form entity via a configuration import.
ContentTranslationConfigImportTest::setUp in core/modules/content_translation/tests/src/Kernel/ContentTranslationConfigImportTest.php
ContentTranslationLocalTasks::create in core/modules/content_translation/src/Plugin/Derivative/ContentTranslationLocalTasks.php
Creates a new class instance.
ContentTranslationLocalTasksTest::setUp in core/modules/content_translation/tests/src/Unit/Menu/ContentTranslationLocalTasksTest.php
ContextDefinitionIsSatisfiedTest::setUp in core/tests/Drupal/Tests/Core/Plugin/Context/ContextDefinitionIsSatisfiedTest.php
DateTest::setUp in core/tests/Drupal/Tests/Core/Datetime/DateTest.php
Drupal::translation in core/lib/Drupal.php
Returns the string translation service.
DrupalTest::testTranslation in core/tests/Drupal/Tests/Core/DrupalTest.php
Tests the translation() method.
DynamicLocalTasks::create in core/modules/content_moderation/src/Plugin/Derivative/DynamicLocalTasks.php
Creates a new class instance.
DynamicLocalTasks::create in core/modules/media/src/Plugin/Derivative/DynamicLocalTasks.php
Creates a new class instance.
EntityActionDeriverBase::create in core/lib/Drupal/Core/Action/Plugin/Action/Derivative/EntityActionDeriverBase.php
Creates a new class instance.
EntityContextDefinitionIsSatisfiedTest::setUp in core/tests/Drupal/Tests/Core/Plugin/Context/EntityContextDefinitionIsSatisfiedTest.php
EntityController::create in core/lib/Drupal/Core/Entity/Controller/EntityController.php
Instantiates a new instance of this class.
EntityTypeInfo::create in core/modules/content_moderation/src/EntityTypeInfo.php
Instantiates a new instance of this class.
EntityTypeTest::testIsSerializable in core/tests/Drupal/Tests/Core/Entity/EntityTypeTest.php
Tests that the EntityType object can be serialized.
EntityViewsData::createInstance in core/modules/views/src/EntityViewsData.php
Instantiates a new instance of this entity handler.
FieldUiLocalTask::create in core/modules/field_ui/src/Plugin/Derivative/FieldUiLocalTask.php
Creates a new class instance.
FilterID::create in core/modules/filter/src/Plugin/migrate/process/FilterID.php
Creates an instance of the plugin.
HelpTopicDiscoveryTest::testHelpTopicsDefinition in core/modules/help_topics/tests/src/Unit/HelpTopicDiscoveryTest.php
@covers ::findAll
HelpTopicSection::create in core/modules/help_topics/src/Plugin/HelpSection/HelpTopicSection.php
Creates an instance of the plugin.
InlineFormErrorsServiceProvider::alter in core/modules/inline_form_errors/src/InlineFormErrorsServiceProvider.php
Modifies existing service definitions.
install_begin_request in core/includes/install.core.inc
Begins an installation request, modifying the installation state as needed.
install_config_import_batch in core/includes/install.core.inc
Creates a batch for the config importer to process.
install_config_revert_install_changes in core/includes/install.core.inc
Reverts configuration if hook_install() implementations have made changes.
install_select_profile in core/includes/install.core.inc
Selects which profile to install.
install_verify_completed_task in core/includes/install.core.inc
Verifies and returns the last installation task that was completed.
install_verify_database_ready in core/includes/install.core.inc
Verify that the database is ready (no existing Drupal installation).
LayoutPluginManagerTest::setUp in core/tests/Drupal/Tests/Core/Layout/LayoutPluginManagerTest.php
MenuLinkDefaultForm::create in core/lib/Drupal/Core/Menu/Form/MenuLinkDefaultForm.php
Instantiates a new instance of this class.
NodeBulkFormTest::testConstructor in core/modules/node/tests/src/Unit/Plugin/views/field/NodeBulkFormTest.php
Tests the constructor assignment of actions.
OverriddenConfigImportTest::setUp in core/modules/language/tests/src/Kernel/OverriddenConfigImportTest.php
PluralTranslatableMarkupTest::testPluralTranslatableMarkupSerialization in core/tests/Drupal/Tests/Core/StringTranslation/PluralTranslatableMarkupTest.php
Tests serialization of PluralTranslatableMarkup().
SettingsForm::create in core/modules/aggregator/src/Form/SettingsForm.php
Instantiates a new instance of this class.
StringTranslationTrait::getStringTranslation in core/lib/Drupal/Core/StringTranslation/StringTranslationTrait.php
Gets the string translation service.
SystemMenuOffCanvasForm::create in core/modules/system/src/Form/SystemMenuOffCanvasForm.php
Instantiates a new instance of this class.
TranslatableMarkup::getStringTranslation in core/lib/Drupal/Core/StringTranslation/TranslatableMarkup.php
Gets the string translation service.
TranslationTest::testGet in core/tests/Drupal/Tests/Core/Annotation/TranslationTest.php
@covers ::get
UserBulkFormTest::testConstructor in core/modules/user/tests/src/Unit/Plugin/views/field/UserBulkFormTest.php
Tests the constructor assignment of actions.
ViewExecutableTest::setUp in core/modules/views/tests/src/Unit/ViewExecutableTest.php
Views::t in core/modules/views/src/Views.php
Translates a string to the current language or to a given language.
ViewsEntityArgumentValidator::create in core/modules/views/src/Plugin/Derivative/ViewsEntityArgumentValidator.php
Creates a new class instance.