100 files declare their use of BaseFieldDefinition
- BaseFieldDefinitionTest.php in core/
tests/ Drupal/ Tests/ Core/ Entity/ BaseFieldDefinitionTest.php - BaseFieldDefinitionTestBase.php in core/
tests/ Drupal/ Tests/ Core/ Field/ BaseFieldDefinitionTestBase.php - BaseFieldOverride.php in core/
lib/ Drupal/ Core/ Field/ Entity/ BaseFieldOverride.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 - DefaultTableMappingIntegrationTest.php in core/
tests/ Drupal/ KernelTests/ Core/ Entity/ DefaultTableMappingIntegrationTest.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 - EntityDefinitionUpdateProviderTest.php in core/
tests/ Drupal/ KernelTests/ Core/ Entity/ EntityDefinitionUpdateProviderTest.php - EntityDefinitionUpdateTest.php in core/
tests/ Drupal/ KernelTests/ Core/ Entity/ EntityDefinitionUpdateTest.php - EntityFieldManager.php in core/
lib/ Drupal/ Core/ Entity/ EntityFieldManager.php - EntityFieldManagerTest.php in core/
tests/ Drupal/ Tests/ Core/ Entity/ EntityFieldManagerTest.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 - EntityReferenceSupportedNewEntitiesConstraintValidatorTest.php in core/
modules/ workspaces/ tests/ src/ Kernel/ EntityReferenceSupportedNewEntitiesConstraintValidatorTest.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 - EntitySchemaTest.php in core/
tests/ Drupal/ KernelTests/ Core/ Entity/ EntitySchemaTest.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 - EntityTestBaseFieldDisplay.php in core/
modules/ system/ tests/ modules/ entity_test/ src/ Entity/ EntityTestBaseFieldDisplay.php - EntityTestComputedBundleField.php in core/
modules/ system/ tests/ modules/ entity_test/ src/ Entity/ EntityTestComputedBundleField.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 - EntityTestUniqueConstraint.php in core/
modules/ system/ tests/ modules/ entity_test/ src/ Entity/ EntityTestUniqueConstraint.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 - FieldStorageConfig.php in core/
modules/ field/ src/ Entity/ FieldStorageConfig.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 - jsonapi_test_reference_types.module in core/
modules/ jsonapi/ tests/ modules/ jsonapi_test_reference_types/ jsonapi_test_reference_types.module - Contains hook implementations for the jsonapi_test_reference_types module.
- 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 - MediaLibraryWidgetTest.php in core/
modules/ media_library/ tests/ src/ Kernel/ MediaLibraryWidgetTest.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.php in core/
modules/ user/ src/ Entity/ User.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
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.