72 string references to string_translation

BaseFieldDefinitionTestBase::setUp in core/tests/Drupal/Tests/Core/Field/BaseFieldDefinitionTestBase.php
BlockManagerTest::setUp in core/tests/Drupal/Tests/Core/Block/BlockManagerTest.php
BulkFormTest::testViewsForm in core/modules/views/tests/src/Unit/Plugin/views/field/BulkFormTest.php
@covers ::viewsForm
CheckpointStorageTest::getConfigImporter in core/tests/Drupal/KernelTests/Core/Config/Storage/Checkpoint/CheckpointStorageTest.php
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
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
ContactLinkTest::setUp in core/modules/contact/tests/src/Unit/ContactLinkTest.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/media/src/Plugin/Derivative/DynamicLocalTasks.php
Creates a new class instance.
DynamicLocalTasks::create in core/modules/content_moderation/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.
EntityRevisionViewController::create in core/lib/Drupal/Core/Entity/Controller/EntityRevisionViewController.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/KernelTests/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.
FieldTypePluginManagerTest::setUp in core/tests/Drupal/Tests/Core/Field/FieldTypePluginManagerTest.php
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/tests/src/Unit/HelpTopicDiscoveryTest.php
@covers ::findAll
HelpTopicSection::create in core/modules/help/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
LinkApproveTest::setUp in core/modules/comment/tests/src/Unit/Plugin/views/field/LinkApproveTest.php
LinkBaseTest::setUp in core/modules/views/tests/src/Unit/Plugin/views/field/LinkBaseTest.php
LinkReplyTest::setUp in core/modules/comment/tests/src/Unit/Plugin/views/field/LinkReplyTest.php
MediaLibrarySelectFormTest::testViewsForm in core/modules/media_library/tests/src/Unit/MediaLibrarySelectFormTest.php
@covers ::viewsForm
MenuLinkDefaultForm::create in core/lib/Drupal/Core/Menu/Form/MenuLinkDefaultForm.php
Instantiates a new instance of this class.
MessageForm::create in core/modules/migrate/src/Form/MessageForm.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
PermissionsTest::setUp in core/modules/user/tests/src/Unit/Plugin/views/field/PermissionsTest.php
PluralTranslatableMarkupTest::testPluralTranslatableMarkupSerialization in core/tests/Drupal/Tests/Core/StringTranslation/PluralTranslatableMarkupTest.php
Tests serialization of PluralTranslatableMarkup().
PreprocessPagerTest::setUp in core/modules/system/tests/src/Unit/Pager/PreprocessPagerTest.php
RecipeCommand::rollBackToCheckpoint in core/lib/Drupal/Core/Recipe/RecipeCommand.php
Rolls config back to a particular checkpoint.
RevisionLinkDeleteTest::setUp in core/modules/node/tests/src/Unit/Plugin/views/field/RevisionLinkDeleteTest.php
RevisionLinkRevertTest::setUp in core/modules/node/tests/src/Unit/Plugin/views/field/RevisionLinkRevertTest.php
RevisionLinkTest::setUp in core/modules/node/tests/src/Unit/Plugin/views/field/RevisionLinkTest.php
ShortcutLocalTasksTest::setUp in core/modules/shortcut/tests/src/Unit/Menu/ShortcutLocalTasksTest.php
SqlBaseTest::setUp in core/modules/views/tests/src/Unit/Plugin/pager/SqlBaseTest.php
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.
TimeZoneFormHelperTest::setUp in core/tests/Drupal/Tests/Core/Datetime/TimeZoneFormHelperTest.php
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
UpdateMailTest::setUp in core/modules/update/tests/src/Unit/UpdateMailTest.php
UserBulkFormTest::testConstructor in core/modules/user/tests/src/Unit/Plugin/views/field/UserBulkFormTest.php
Tests the constructor assignment of actions.
UserLocalTask::create in core/modules/user/src/Plugin/Derivative/UserLocalTask.php
Creates a new class instance.
UserLocalTasksTest::setUp in core/modules/user/tests/src/Unit/Menu/UserLocalTasksTest.php
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.

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