61 string references to string_translation in Drupal 10
- BaseFieldDefinitionTestBase::setUp in core/
tests/ Drupal/ Tests/ Core/ Field/ BaseFieldDefinitionTestBase.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 - 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 - 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 - 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 - DynamicLocalTasks::create in core/
modules/ media/ src/ Plugin/ Derivative/ DynamicLocalTasks.php - 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 - 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 - FieldUiLocalTask::create in core/
modules/ field_ui/ src/ Plugin/ Derivative/ FieldUiLocalTask.php - 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 - InlineFormErrorsServiceProvider::alter in core/
modules/ inline_form_errors/ src/ InlineFormErrorsServiceProvider.php - InstallerTestBase::setUp in core/
tests/ Drupal/ FunctionalTests/ Installer/ InstallerTestBase.php - 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).
- LanguageServiceProvider::register in core/
modules/ language/ src/ LanguageServiceProvider.php - LayoutPluginManagerTest::setUp in core/
tests/ Drupal/ Tests/ Core/ Layout/ LayoutPluginManagerTest.php - LocaleConfigurableLanguageManagerTest::testGetLanguages in core/
modules/ locale/ tests/ src/ Kernel/ LocaleConfigurableLanguageManagerTest.php - LocaleTranslationUiTest::testStringSearch in core/
modules/ locale/ tests/ src/ Functional/ LocaleTranslationUiTest.php - Tests translation search form.
- LocaleTranslationUiTest::testStringTranslation in core/
modules/ locale/ tests/ src/ Functional/ LocaleTranslationUiTest.php - Adds a language and tests string translation by users with the appropriate permissions.
- LocaleTranslationUiTest::testUICustomizedStrings in core/
modules/ locale/ tests/ src/ Functional/ LocaleTranslationUiTest.php - Tests that only changed strings are saved customized when edited.
- 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().
- ShortcutLocalTasksTest::setUp in core/
modules/ shortcut/ tests/ src/ Unit/ Menu/ ShortcutLocalTasksTest.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.
- ToolbarAdminMenuTest::testLocaleTranslationSubtreesHashCacheClear in core/
modules/ toolbar/ tests/ src/ Functional/ ToolbarAdminMenuTest.php - Tests that toolbar cache is cleared when string translations are made.
- TranslatableMarkup::getStringTranslation in core/
lib/ Drupal/ Core/ StringTranslation/ TranslatableMarkup.php - Gets the string translation service.
- TranslationStringTest::testComparison in core/
tests/ Drupal/ KernelTests/ Core/ StringTranslation/ TranslationStringTest.php - Tests that TranslatableMarkup objects can be compared.
- TranslationTest::testGet in core/
tests/ Drupal/ Tests/ Core/ Annotation/ TranslationTest.php - @covers ::get
- UpdatePathTestBase::runDbTasks in core/
tests/ Drupal/ FunctionalTests/ Update/ UpdatePathTestBase.php - Runs the install database tasks for the driver used by the test runner.
- 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 - 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