91 files declare their use of BaseFieldDefinition in Drupal 10
- BaseFieldDefinitionTest.php in core/
tests/ Drupal/ Tests/ Core/ Entity/ BaseFieldDefinitionTest.php - BaseFieldDefinitionTestBase.php in core/
tests/ Drupal/ Tests/ Core/ Field/ BaseFieldDefinitionTestBase.php - BaseFieldOverrideTest.php in core/
tests/ Drupal/ KernelTests/ Core/ Field/ Entity/ BaseFieldOverrideTest.php - BlockContent.php in core/
modules/ block_content/ src/ Entity/ BlockContent.php - Comment.php in core/
modules/ comment/ src/ Entity/ Comment.php - CommentTestBaseField.php in core/
modules/ comment/ tests/ modules/ comment_base_field_test/ src/ Entity/ CommentTestBaseField.php - contact_storage_test.module in core/
modules/ contact/ tests/ modules/ contact_storage_test/ contact_storage_test.module - Contains custom contact message functionality for ContactStorageTest.
- ContentEntityBase.php in core/
lib/ Drupal/ Core/ Entity/ ContentEntityBase.php - ContentEntityBaseUnitTest.php in core/
tests/ Drupal/ Tests/ Core/ Entity/ ContentEntityBaseUnitTest.php - ContentModerationState.php in core/
modules/ content_moderation/ src/ Entity/ ContentModerationState.php - ContentTranslationHandler.php in core/
modules/ content_translation/ src/ ContentTranslationHandler.php - entity.api.php in core/
lib/ Drupal/ Core/ Entity/ entity.api.php - Hooks and documentation related to entities.
- EntityAdapterUnitTest.php in core/
tests/ Drupal/ Tests/ Core/ Entity/ TypedData/ EntityAdapterUnitTest.php - EntityDefinitionTestTrait.php in core/
modules/ system/ tests/ src/ Functional/ Entity/ Traits/ EntityDefinitionTestTrait.php - EntityDefinitionUpdateManager.php in core/
lib/ Drupal/ Core/ Entity/ EntityDefinitionUpdateManager.php - EntityDefinitionUpdateTest.php in core/
tests/ Drupal/ KernelTests/ Core/ Entity/ EntityDefinitionUpdateTest.php - EntityFieldManager.php in core/
lib/ Drupal/ Core/ Entity/ EntityFieldManager.php - EntityFieldTest.php in core/
tests/ Drupal/ KernelTests/ Core/ Entity/ EntityFieldTest.php - EntityKeysTest.php in core/
tests/ Drupal/ KernelTests/ Core/ Entity/ EntityKeysTest.php - EntityOwnerTrait.php in core/
modules/ user/ src/ EntityOwnerTrait.php - EntityPublishedTrait.php in core/
lib/ Drupal/ Core/ Entity/ EntityPublishedTrait.php - EntityReferenceFieldTest.php in core/
tests/ Drupal/ KernelTests/ Core/ Entity/ EntityReferenceFieldTest.php - EntitySchemaSubscriber.php in core/
modules/ workspaces/ src/ EventSubscriber/ EntitySchemaSubscriber.php - EntitySchemaSubscriber.php in core/
modules/ system/ tests/ modules/ entity_test_update/ src/ EventSubscriber/ EntitySchemaSubscriber.php - EntitySerializedField.php in core/
modules/ system/ tests/ modules/ entity_test/ src/ Entity/ EntitySerializedField.php - EntityTest.php in core/
modules/ system/ tests/ modules/ entity_test/ src/ Entity/ EntityTest.php - EntityTestBase.php in core/
modules/ migrate/ tests/ src/ Unit/ Plugin/ migrate/ destination/ EntityTestBase.php - Contains \Drupal\Tests\migrate\Unit\Plugin\migrate\destination\EntityTestBase.
- EntityTestBaseFieldDisplay.php in core/
modules/ system/ tests/ modules/ entity_test/ src/ Entity/ EntityTestBaseFieldDisplay.php - EntityTestComputedField.php in core/
modules/ system/ tests/ modules/ entity_test/ src/ Entity/ EntityTestComputedField.php - EntityTestConstraints.php in core/
modules/ system/ tests/ modules/ entity_test/ src/ Entity/ EntityTestConstraints.php - EntityTestConstraintViolation.php in core/
modules/ system/ tests/ modules/ entity_test/ src/ Entity/ EntityTestConstraintViolation.php - EntityTestDefaultValue.php in core/
modules/ system/ tests/ modules/ entity_test/ src/ Entity/ EntityTestDefaultValue.php - EntityTestFieldMethods.php in core/
modules/ system/ tests/ modules/ entity_test/ src/ Entity/ EntityTestFieldMethods.php - EntityTestMapField.php in core/
modules/ system/ tests/ modules/ entity_test/ src/ Entity/ EntityTestMapField.php - EntityTestMulChanged.php in core/
modules/ system/ tests/ modules/ entity_test/ src/ Entity/ EntityTestMulChanged.php - EntityTestMulDefaultValue.php in core/
modules/ system/ tests/ modules/ entity_test/ src/ Entity/ EntityTestMulDefaultValue.php - EntityTestMulRev.php in core/
modules/ system/ tests/ modules/ entity_test/ src/ Entity/ EntityTestMulRev.php - EntityTestMulRevChanged.php in core/
modules/ system/ tests/ modules/ entity_test/ src/ Entity/ EntityTestMulRevChanged.php - EntityTestRev.php in core/
modules/ system/ tests/ modules/ entity_test/ src/ Entity/ EntityTestRev.php - EntityTestStringId.php in core/
modules/ system/ tests/ modules/ entity_test/ src/ Entity/ EntityTestStringId.php - EntityTestTest.php in core/
modules/ jsonapi/ tests/ src/ Functional/ EntityTestTest.php - EntityTestUpdate.php in core/
modules/ system/ tests/ modules/ entity_test_update/ src/ Entity/ EntityTestUpdate.php - EntityTestWithBundle.php in core/
modules/ system/ tests/ modules/ entity_test/ src/ Entity/ EntityTestWithBundle.php - EntityTestWithRevisionLog.php in core/
modules/ system/ tests/ modules/ entity_test_revlog/ src/ Entity/ EntityTestWithRevisionLog.php - EntityTypedDataDefinitionTest.php in core/
tests/ Drupal/ KernelTests/ Core/ Entity/ EntityTypedDataDefinitionTest.php - EntityTypeInfo.php in core/
modules/ content_moderation/ src/ EntityTypeInfo.php - EntityTypeInfo.php in core/
modules/ workspaces/ src/ EntityTypeInfo.php - EntityViewsDataTest.php in core/
modules/ views/ tests/ src/ Kernel/ Entity/ EntityViewsDataTest.php - entity_reference_test.module in core/
modules/ system/ tests/ modules/ entity_reference_test/ entity_reference_test.module - Helper module for the Entity Reference tests.
- entity_schema_test.module in core/
modules/ system/ tests/ modules/ entity_schema_test/ entity_schema_test.module - Test module for the entity API providing a bundle field.
- entity_test.module in core/
modules/ system/ tests/ modules/ entity_test/ entity_test.module - Test module for the entity API providing several entity types for testing.
- 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.
- FieldableEntityDefinitionUpdateTest.php in core/
tests/ Drupal/ KernelTests/ Core/ Entity/ FieldableEntityDefinitionUpdateTest.php - FieldAPIHandlerTrait.php in core/
modules/ views/ src/ FieldAPIHandlerTrait.php - FieldDefinitionIntegrityTest.php in core/
modules/ field/ tests/ src/ Kernel/ FieldDefinitionIntegrityTest.php - FieldItemDataDefinition.php in core/
lib/ Drupal/ Core/ Field/ TypedData/ FieldItemDataDefinition.php - FieldItemNormalizerTest.php in core/
modules/ jsonapi/ tests/ src/ Kernel/ Normalizer/ FieldItemNormalizerTest.php - FieldSettingsTest.php in core/
tests/ Drupal/ KernelTests/ Core/ Field/ FieldSettingsTest.php - FieldStorageDefinition.php in core/
modules/ system/ tests/ modules/ entity_test/ src/ FieldStorageDefinition.php - FieldTypePluginManagerTest.php in core/
modules/ field/ tests/ src/ Kernel/ FieldTypePluginManagerTest.php - File.php in core/
modules/ file/ src/ Entity/ File.php - FormatterPluginManagerTest.php in core/
modules/ field/ tests/ src/ Kernel/ FormatterPluginManagerTest.php - link_test_base_field.module in core/
modules/ link/ tests/ modules/ link_test_base_field/ link_test_base_field.module - Contains main module functions.
- MapBaseFieldTest.php in core/
tests/ Drupal/ KernelTests/ Core/ Field/ MapBaseFieldTest.php - Media.php in core/
modules/ media/ src/ Entity/ Media.php - MediaTypeForm.php in core/
modules/ media/ src/ MediaTypeForm.php - MenuLinkContent.php in core/
modules/ menu_link_content/ src/ Entity/ MenuLinkContent.php - Message.php in core/
modules/ contact/ src/ Entity/ Message.php - Node.php in core/
modules/ node/ src/ Entity/ Node.php - NoLanguageEntityTest.php in core/
modules/ language/ tests/ language_test/ src/ Entity/ NoLanguageEntityTest.php - path.module in core/
modules/ path/ path.module - Enables users to rename URLs.
- PathAlias.php in core/
modules/ path_alias/ src/ Entity/ PathAlias.php - RecursiveContextualValidatorTest.php in core/
tests/ Drupal/ KernelTests/ Core/ TypedData/ RecursiveContextualValidatorTest.php - rest_test.module in core/
modules/ rest/ tests/ modules/ rest_test/ rest_test.module - Contains hook implementations for testing REST module.
- RevisionLogEntityTrait.php in core/
lib/ Drupal/ Core/ Entity/ RevisionLogEntityTrait.php - Shortcut.php in core/
modules/ shortcut/ src/ Entity/ Shortcut.php - Sql.php in core/
modules/ migrate/ src/ Plugin/ migrate/ id_map/ Sql.php - SqlContentEntityStorageSchema.php in core/
lib/ Drupal/ Core/ Entity/ Sql/ SqlContentEntityStorageSchema.php - SqlContentEntityStorageSchemaTest.php in core/
tests/ Drupal/ KernelTests/ Core/ Entity/ Sql/ SqlContentEntityStorageSchemaTest.php - StringIdEntityTest.php in core/
modules/ migrate/ tests/ modules/ migrate_entity_test/ src/ Entity/ StringIdEntityTest.php - Term.php in core/
modules/ taxonomy/ src/ Entity/ Term.php - TestItemTest.php in core/
modules/ field/ tests/ src/ Kernel/ TestItemTest.php - TextItemBaseTest.php in core/
modules/ text/ tests/ src/ Kernel/ TextItemBaseTest.php - TypedDataTest.php in core/
tests/ Drupal/ KernelTests/ Core/ TypedData/ TypedDataTest.php - user.module in core/
modules/ user/ user.module - Enables the user registration and login system.
- User.php in core/
modules/ user/ src/ Entity/ User.php - UserPasswordForm.php in core/
modules/ user/ src/ Form/ UserPasswordForm.php - ValidReferenceConstraintValidatorTest.php in core/
tests/ Drupal/ KernelTests/ Core/ Entity/ ValidReferenceConstraintValidatorTest.php - views_entity_test.module in core/
modules/ views/ tests/ modules/ views_entity_test/ views_entity_test.module - Contains main module functionality.
- WidgetPluginManagerTest.php in core/
modules/ field/ tests/ src/ Kernel/ WidgetPluginManagerTest.php - Workspace.php in core/
modules/ workspaces/ src/ Entity/ Workspace.php