108 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 - BlockContentUpdateTest.php in core/
modules/ block_content/ tests/ src/ Functional/ Update/ BlockContentUpdateTest.php - block_content.install in core/
modules/ block_content/ block_content.install - Install, update and uninstall functions for the block_content module.
- 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/ src/ Tests/ Entity/ EntityDefinitionTestTrait.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 - EntityFieldManagerTest.php in core/
tests/ Drupal/ Tests/ Core/ Entity/ EntityFieldManagerTest.php - Contains \Drupal\Tests\Core\Entity\EntityFieldManagerTest.
- 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 - 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 - EntityUpdateToPublishableTest.php in core/
modules/ system/ tests/ src/ Functional/ Update/ EntityUpdateToPublishableTest.php - EntityViewsDataTest.php in core/
modules/ views/ tests/ src/ Unit/ EntityViewsDataTest.php - Contains \Drupal\Tests\views\Unit\EntityViewsDataTest.
- 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_rev_pub_updates_8400.inc in core/
modules/ system/ tests/ modules/ entity_test_update/ update/ entity_rev_pub_updates_8400.inc - Defines the 8400 db update for the "entity_rev_pub_updates" group.
- 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.
- Feed.php in core/
modules/ aggregator/ src/ Entity/ Feed.php - 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 - 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 - Item.php in core/
modules/ aggregator/ src/ Entity/ Item.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 - 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 - menu_link_content.post_update.php in core/
modules/ menu_link_content/ menu_link_content.post_update.php - Post update functions for the Menu link content module.
- Message.php in core/
modules/ contact/ src/ Entity/ Message.php - node.install in core/
modules/ node/ node.install - Install, update and uninstall functions for the node module.
- 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 - SqlContentEntityStorageSchemaConverter.php in core/
lib/ Drupal/ Core/ Entity/ Sql/ SqlContentEntityStorageSchemaConverter.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 - system.install in core/
modules/ system/ system.install - Install, update and uninstall functions for the system module.
- taxonomy.install in core/
modules/ taxonomy/ taxonomy.install - Install, update and uninstall functions for the taxonomy module.
- taxonomy.post_update.php in core/
modules/ taxonomy/ taxonomy.post_update.php - Post update functions for Taxonomy.
- Term.php in core/
modules/ taxonomy/ src/ Entity/ Term.php - TestItemTest.php in core/
modules/ field/ tests/ src/ Kernel/ TestItemTest.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 - 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 - workspaces.install in core/
modules/ workspaces/ workspaces.install - Contains install, update and uninstall functions for the Workspaces module.
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.