126 files declare their use of TranslatableMarkup
- AnnotatedClassDiscoveryTest.php in core/
tests/ Drupal/ KernelTests/ Core/ Plugin/ Discovery/ AnnotatedClassDiscoveryTest.php - BatchBuilder.php in core/
lib/ Drupal/ Core/ Batch/ BatchBuilder.php - BatchBuilderTest.php in core/
tests/ Drupal/ Tests/ Core/ Batch/ BatchBuilderTest.php - BlockComponentRenderArrayTest.php in core/
modules/ layout_builder/ tests/ src/ Unit/ BlockComponentRenderArrayTest.php - BlockRebuildTest.php in core/
modules/ block/ tests/ src/ Kernel/ BlockRebuildTest.php - BooleanItem.php in core/
lib/ Drupal/ Core/ Field/ Plugin/ Field/ FieldType/ BooleanItem.php - bootstrap.inc in core/
includes/ bootstrap.inc - Functions that need to be loaded on every Drupal request.
- BreakpointTest.php in core/
modules/ breakpoint/ tests/ src/ Unit/ BreakpointTest.php - ckeditor.module in core/
modules/ ckeditor/ ckeditor.module - Provides integration with the CKEditor WYSIWYG editor.
- CKEditor5PluginDefinition.php in core/
modules/ ckeditor5/ src/ Plugin/ CKEditor5PluginDefinition.php - CommentItem.php in core/
modules/ comment/ src/ Plugin/ Field/ FieldType/ CommentItem.php - common.inc in core/
includes/ common.inc - Common functions that many Drupal modules will need to reference.
- ComputedTestCacheableStringItem.php in core/
modules/ system/ tests/ modules/ entity_test/ src/ Plugin/ Field/ FieldType/ ComputedTestCacheableStringItem.php - ConfigEntityType.php in core/
lib/ Drupal/ Core/ Entity/ Annotation/ ConfigEntityType.php - ConfigEntityUpdater.php in core/
lib/ Drupal/ Core/ Config/ Entity/ ConfigEntityUpdater.php - ConfigSingleExportForm.php in core/
modules/ config/ src/ Form/ ConfigSingleExportForm.php - ConfigTranslationFormBase.php in core/
modules/ config_translation/ src/ Form/ ConfigTranslationFormBase.php - ConfigurableLanguageManager.php in core/
modules/ language/ src/ ConfigurableLanguageManager.php - ConstraintManager.php in core/
lib/ Drupal/ Core/ Validation/ ConstraintManager.php - ContentEntityBase.php in core/
lib/ Drupal/ Core/ Entity/ ContentEntityBase.php - ContentEntityType.php in core/
lib/ Drupal/ Core/ Entity/ Annotation/ ContentEntityType.php - content_translation.module in core/
modules/ content_translation/ content_translation.module - Allows entities to be translated into different languages.
- ContextualLinkDefaultTest.php in core/
tests/ Drupal/ Tests/ Core/ Menu/ ContextualLinkDefaultTest.php - CustomDirectoryAnnotatedClassDiscoveryTest.php in core/
tests/ Drupal/ KernelTests/ Core/ Plugin/ Discovery/ CustomDirectoryAnnotatedClassDiscoveryTest.php - DateTest.php in core/
tests/ Drupal/ Tests/ Core/ Datetime/ DateTest.php - DateTimeItem.php in core/
modules/ datetime/ src/ Plugin/ Field/ FieldType/ DateTimeItem.php - dblog.module in core/
modules/ dblog/ dblog.module - System monitoring and logging for administrators.
- DecimalItem.php in core/
lib/ Drupal/ Core/ Field/ Plugin/ Field/ FieldType/ DecimalItem.php - DefaultHtmlRouteProviderTest.php in core/
tests/ Drupal/ Tests/ Core/ Entity/ Routing/ DefaultHtmlRouteProviderTest.php - Contains \Drupal\Tests\Core\Entity\Routing\DefaultHtmlRouteProviderTest.
- DependencySerializationTrait.php in core/
lib/ Drupal/ Core/ DependencyInjection/ DependencySerializationTrait.php - DiscoveryTestBase.php in core/
tests/ Drupal/ KernelTests/ Core/ Plugin/ Discovery/ DiscoveryTestBase.php - DrupalTranslator.php in core/
lib/ Drupal/ Core/ Validation/ DrupalTranslator.php - DummyAjaxItem.php in core/
modules/ image/ tests/ modules/ image_module_test/ src/ Plugin/ Field/ FieldType/ DummyAjaxItem.php - editor.module in core/
modules/ editor/ editor.module - Adds bindings for client-side "text editors" to text formats.
- EmailItem.php in core/
lib/ Drupal/ Core/ Field/ Plugin/ Field/ FieldType/ EmailItem.php - EntityDefinitionTestTrait.php in core/
modules/ system/ tests/ src/ Functional/ Entity/ Traits/ EntityDefinitionTestTrait.php - EntityDefinitionUpdateTest.php in core/
tests/ Drupal/ KernelTests/ Core/ Entity/ EntityDefinitionUpdateTest.php - EntityOwnerTrait.php in core/
modules/ user/ src/ EntityOwnerTrait.php - EntityPublishedTrait.php in core/
lib/ Drupal/ Core/ Entity/ EntityPublishedTrait.php - EntityReferenceItem.php in core/
lib/ Drupal/ Core/ Field/ Plugin/ Field/ FieldType/ EntityReferenceItem.php - EntityReferenceItemTest.php in core/
modules/ field/ tests/ src/ Kernel/ EntityReference/ EntityReferenceItemTest.php - EntityRevision.php in core/
modules/ migrate/ src/ Plugin/ migrate/ destination/ EntityRevision.php - EntitySchemaSubscriber.php in core/
modules/ system/ tests/ modules/ entity_test_update/ src/ EventSubscriber/ EntitySchemaSubscriber.php - EntityTestComputedField.php in core/
modules/ system/ tests/ modules/ entity_test/ src/ Entity/ EntityTestComputedField.php - EntityTestUpdate.php in core/
modules/ system/ tests/ modules/ entity_test_update/ src/ Entity/ EntityTestUpdate.php - EntityType.php in core/
lib/ Drupal/ Core/ Entity/ EntityType.php - EntityTypeInfo.php in core/
modules/ workspaces/ src/ EntityTypeInfo.php - EntityTypeTest.php in core/
tests/ Drupal/ Tests/ Core/ Entity/ EntityTypeTest.php - entity_test_update.module in core/
modules/ system/ tests/ modules/ entity_test_update/ entity_test_update.module - Provides an entity type for testing definition and schema updates.
- ExtraFieldBlock.php in core/
modules/ layout_builder/ src/ Plugin/ Block/ ExtraFieldBlock.php - FieldBlock.php in core/
modules/ layout_builder/ src/ Plugin/ Block/ FieldBlock.php - FieldPluginBase.php in core/
modules/ views/ src/ Plugin/ views/ field/ FieldPluginBase.php - FieldTestItem.php in core/
modules/ system/ tests/ modules/ entity_test/ src/ Plugin/ Field/ FieldType/ FieldTestItem.php - FileItem.php in core/
modules/ file/ src/ Plugin/ Field/ FieldType/ FileItem.php - FileWidget.php in core/
modules/ file/ src/ Plugin/ Field/ FieldWidget/ FileWidget.php - FilterInOperatorTest.php in core/
modules/ views/ tests/ src/ Kernel/ Handler/ FilterInOperatorTest.php - FormOperations.php in core/
modules/ workspaces/ src/ FormOperations.php - FormTestSelectForm.php in core/
modules/ system/ tests/ modules/ form_test/ src/ Form/ FormTestSelectForm.php - HelpTopicDiscovery.php in core/
modules/ help_topics/ src/ HelpTopicDiscovery.php - HelpTopicDiscoveryTest.php in core/
modules/ help_topics/ tests/ src/ Unit/ HelpTopicDiscoveryTest.php - ImageItem.php in core/
modules/ image/ src/ Plugin/ Field/ FieldType/ ImageItem.php - ImageWidget.php in core/
modules/ image/ src/ Plugin/ Field/ FieldWidget/ ImageWidget.php - IntegerItem.php in core/
lib/ Drupal/ Core/ Field/ Plugin/ Field/ FieldType/ IntegerItem.php - InternalPropertyTestFieldItem.php in core/
modules/ system/ tests/ modules/ entity_test/ src/ Plugin/ Field/ FieldType/ InternalPropertyTestFieldItem.php - Language.php in core/
lib/ Drupal/ Core/ Language/ Language.php - LanguageManager.php in core/
lib/ Drupal/ Core/ Language/ LanguageManager.php - LayoutBuilderEntityViewDisplay.php in core/
modules/ layout_builder/ src/ Entity/ LayoutBuilderEntityViewDisplay.php - LayoutPluginManager.php in core/
lib/ Drupal/ Core/ Layout/ LayoutPluginManager.php - LayoutPluginManagerTest.php in core/
tests/ Drupal/ Tests/ Core/ Layout/ LayoutPluginManagerTest.php - LayoutSectionItem.php in core/
modules/ layout_builder/ src/ Plugin/ Field/ FieldType/ LayoutSectionItem.php - LegacyFileTest.php in core/
modules/ file/ tests/ src/ Kernel/ LegacyFileTest.php - LinkItem.php in core/
modules/ link/ src/ Plugin/ Field/ FieldType/ LinkItem.php - LinkWidget.php in core/
modules/ link/ src/ Plugin/ Field/ FieldWidget/ LinkWidget.php - ListFloatItem.php in core/
modules/ options/ src/ Plugin/ Field/ FieldType/ ListFloatItem.php - ListIntegerItem.php in core/
modules/ options/ src/ Plugin/ Field/ FieldType/ ListIntegerItem.php - ListItemBase.php in core/
modules/ options/ src/ Plugin/ Field/ FieldType/ ListItemBase.php - ListStringItem.php in core/
modules/ options/ src/ Plugin/ Field/ FieldType/ ListStringItem.php - LocalActionDefaultTest.php in core/
tests/ Drupal/ Tests/ Core/ Menu/ LocalActionDefaultTest.php - LocaleConfigManager.php in core/
modules/ locale/ src/ LocaleConfigManager.php - LocalTaskDefaultTest.php in core/
tests/ Drupal/ Tests/ Core/ Menu/ LocalTaskDefaultTest.php - Contains \Drupal\Tests\Core\Menu\LocalTaskDefaultTest.
- MarkupInterfaceComparatorTest.php in core/
tests/ Drupal/ KernelTests/ Core/ Test/ Comparator/ MarkupInterfaceComparatorTest.php - media.install in core/
modules/ media/ media.install - Install, uninstall and update hooks for Media module.
- MediaLibraryWidget.php in core/
modules/ media_library/ src/ Plugin/ Field/ FieldWidget/ MediaLibraryWidget.php - MenuLinkContentDeriverTest.php in core/
modules/ menu_link_content/ tests/ src/ Kernel/ MenuLinkContentDeriverTest.php - MessengerTest.php in core/
tests/ Drupal/ KernelTests/ Core/ Messenger/ MessengerTest.php - MetadataGenerator.php in core/
modules/ quickedit/ src/ MetadataGenerator.php - MigrateUpgradeImportBatch.php in core/
modules/ migrate_drupal_ui/ src/ Batch/ MigrateUpgradeImportBatch.php - ModulesListNonStableConfirmForm.php in core/
modules/ system/ src/ Form/ ModulesListNonStableConfirmForm.php - OptionsWidgetBase.php in core/
lib/ Drupal/ Core/ Field/ Plugin/ Field/ FieldWidget/ OptionsWidgetBase.php - PasswordItem.php in core/
lib/ Drupal/ Core/ Field/ Plugin/ Field/ FieldType/ PasswordItem.php - PathAlias.php in core/
modules/ path_alias/ src/ Entity/ PathAlias.php - PermissionHandlerTest.php in core/
modules/ user/ tests/ src/ Unit/ PermissionHandlerTest.php - Contains \Drupal\Tests\user\Unit\PermissionHandlerTest.
- PluginBase.php in core/
modules/ views/ src/ Plugin/ views/ PluginBase.php - PrepareModulesEntityUninstallForm.php in core/
modules/ system/ src/ Form/ PrepareModulesEntityUninstallForm.php - PrimitiveTypeConstraintValidatorTest.php in core/
tests/ Drupal/ Tests/ Core/ Validation/ Plugin/ Validation/ Constraint/ PrimitiveTypeConstraintValidatorTest.php - RelationshipJoinTestBase.php in core/
modules/ views/ tests/ src/ Kernel/ Plugin/ RelationshipJoinTestBase.php - RfcLogLevel.php in core/
lib/ Drupal/ Core/ Logger/ RfcLogLevel.php - SerializedItem.php in core/
modules/ system/ tests/ modules/ entity_test/ src/ Plugin/ Field/ FieldType/ SerializedItem.php - SerializedPropertyItem.php in core/
modules/ system/ tests/ modules/ entity_test/ src/ Plugin/ Field/ FieldType/ SerializedPropertyItem.php - SingleInternalPropertyTestFieldItem.php in core/
modules/ system/ tests/ modules/ entity_test/ src/ Plugin/ Field/ FieldType/ SingleInternalPropertyTestFieldItem.php - StringItemBase.php in core/
lib/ Drupal/ Core/ Field/ Plugin/ Field/ FieldType/ StringItemBase.php - StringTranslationTraitTest.php in core/
tests/ Drupal/ Tests/ Core/ StringTranslation/ StringTranslationTraitTest.php - StyleSensibleElementConstraintValidator.php in core/
modules/ ckeditor5/ src/ Plugin/ Validation/ Constraint/ StyleSensibleElementConstraintValidator.php - system.install in core/
modules/ system/ system.install - Install, update and uninstall functions for the system module.
- Tableselect.php in core/
lib/ Drupal/ Core/ Render/ Element/ Tableselect.php - TableSelectTest.php in core/
tests/ Drupal/ Tests/ Core/ Render/ Element/ TableSelectTest.php - TableSort.php in core/
lib/ Drupal/ Core/ Utility/ TableSort.php - Tasks.php in core/
lib/ Drupal/ Core/ Database/ Install/ Tasks.php - TelephoneItem.php in core/
modules/ telephone/ src/ Plugin/ Field/ FieldType/ TelephoneItem.php - TestItem.php in core/
modules/ field/ tests/ modules/ field_test/ src/ Plugin/ Field/ FieldType/ TestItem.php - TestItemWithPreconfiguredOptions.php in core/
modules/ field/ tests/ modules/ field_test/ src/ Plugin/ Field/ FieldType/ TestItemWithPreconfiguredOptions.php - TextWithSummaryItem.php in core/
modules/ text/ src/ Plugin/ Field/ FieldType/ TextWithSummaryItem.php - TitleResolverTest.php in core/
tests/ Drupal/ Tests/ Core/ Controller/ TitleResolverTest.php - Contains \Drupal\Tests\Core\Controller\TitleResolverTest.
- ToolbarItemConditionsMetConstraintValidator.php in core/
modules/ ckeditor5/ src/ Plugin/ Validation/ Constraint/ ToolbarItemConditionsMetConstraintValidator.php - TranslatableMarkupTest.php in core/
tests/ Drupal/ Tests/ Core/ StringTranslation/ TranslatableMarkupTest.php - Translation.php in core/
lib/ Drupal/ Core/ Annotation/ Translation.php - TranslationWrapperTest.php in core/
tests/ Drupal/ Tests/ Core/ StringTranslation/ TranslationWrapperTest.php - TwigExtensionTest.php in core/
tests/ Drupal/ Tests/ Core/ Template/ TwigExtensionTest.php - TwigMarkupInterfaceTest.php in core/
tests/ Drupal/ KernelTests/ Core/ Theme/ TwigMarkupInterfaceTest.php - Contains \Drupal\KernelTests\Core\Theme\TwigMarkupInterfaceTest.
- UnitTestCase.php in core/
tests/ Drupal/ Tests/ UnitTestCase.php - ViewsBlock.php in core/
modules/ views/ src/ Plugin/ Derivative/ ViewsBlock.php - ViewsSelection.php in core/
modules/ views/ src/ Plugin/ EntityReferenceSelection/ ViewsSelection.php - Workspace.php in core/
modules/ workspaces/ src/ Entity/ Workspace.php - YamlDirectoryDiscoveryTest.php in core/
tests/ Drupal/ Tests/ Core/ Plugin/ Discovery/ YamlDirectoryDiscoveryTest.php - YamlDiscovery.php in core/
lib/ Drupal/ Core/ Plugin/ Discovery/ YamlDiscovery.php - YamlDiscoveryTest.php in core/
tests/ Drupal/ Tests/ Core/ Plugin/ Discovery/ YamlDiscoveryTest.php
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.