BaseFieldDefinition::createFromFieldStorageDefinition in core/lib/Drupal/Core/Field/BaseFieldDefinition.php
Creates a new field definition based upon a field storage definition.
BaseFieldDefinition::createFromItemType in core/lib/Drupal/Core/Field/BaseFieldDefinition.php
Creates a new list data definition for items of the given data type.
BaseFieldDefinitionTest::testCustomStorage in core/tests/Drupal/Tests/Core/Entity/BaseFieldDefinitionTest.php
Tests custom storage.
BaseFieldDefinitionTest::testDefaultFieldSettings in core/tests/Drupal/Tests/Core/Entity/BaseFieldDefinitionTest.php
Tests the initialization of default field settings.
BaseFieldDefinitionTest::testDefaultValueCallback in core/tests/Drupal/Tests/Core/Entity/BaseFieldDefinitionTest.php
Tests default value callbacks.
BaseFieldDefinitionTest::testFieldCardinality in core/tests/Drupal/Tests/Core/Entity/BaseFieldDefinitionTest.php
Tests field cardinality.
BaseFieldDefinitionTest::testFieldDefaultValue in core/tests/Drupal/Tests/Core/Entity/BaseFieldDefinitionTest.php
Tests field default value.
BaseFieldDefinitionTest::testFieldDescription in core/tests/Drupal/Tests/Core/Entity/BaseFieldDefinitionTest.php
Tests field description methods.
BaseFieldDefinitionTest::testFieldInitialValue in core/tests/Drupal/Tests/Core/Entity/BaseFieldDefinitionTest.php
Tests field initial value.
BaseFieldDefinitionTest::testFieldLabel in core/tests/Drupal/Tests/Core/Entity/BaseFieldDefinitionTest.php
Tests field label methods.
BaseFieldDefinitionTest::testFieldName in core/tests/Drupal/Tests/Core/Entity/BaseFieldDefinitionTest.php
Tests field name methods.
BaseFieldDefinitionTest::testFieldProvider in core/tests/Drupal/Tests/Core/Entity/BaseFieldDefinitionTest.php
Tests provider.
BaseFieldDefinitionTest::testFieldRequired in core/tests/Drupal/Tests/Core/Entity/BaseFieldDefinitionTest.php
Tests required.
BaseFieldDefinitionTest::testFieldRevisionable in core/tests/Drupal/Tests/Core/Entity/BaseFieldDefinitionTest.php
Tests field revisionable methods.
BaseFieldDefinitionTest::testFieldSettings in core/tests/Drupal/Tests/Core/Entity/BaseFieldDefinitionTest.php
Tests field settings methods.
BaseFieldDefinitionTest::testFieldStorageRequired in core/tests/Drupal/Tests/Core/Entity/BaseFieldDefinitionTest.php
Tests storage required.
BaseFieldDefinitionTest::testFieldTranslatable in core/tests/Drupal/Tests/Core/Entity/BaseFieldDefinitionTest.php
Tests field translatable methods.
BaseFieldDefinitionTest::testFieldType in core/tests/Drupal/Tests/Core/Entity/BaseFieldDefinitionTest.php
Tests field type methods.
BaseFieldDefinitionTest::testInvalidDefaultValueCallback in core/tests/Drupal/Tests/Core/Entity/BaseFieldDefinitionTest.php
Tests invalid default value callbacks.
BaseFieldDefinitionTest::testNullDefaultValueCallback in core/tests/Drupal/Tests/Core/Entity/BaseFieldDefinitionTest.php
Tests NULL default value callbacks.
BaseFieldOverrideTest::testDefaultValueCallback in core/tests/Drupal/KernelTests/Core/Field/Entity/BaseFieldOverrideTest.php
Tests the default value callback.
BaseFieldOverrideTest::testGetClass in core/tests/Drupal/KernelTests/Core/Field/Entity/BaseFieldOverrideTest.php
@covers ::getClass
BaseFieldOverrideTest::testInheritedProperties in core/tests/Drupal/KernelTests/Core/Field/Entity/BaseFieldOverrideTest.php
Tests that some properties are inherited from the BaseFieldDefinition.
BlockContent::baseFieldDefinitions in core/modules/block_content/src/Entity/BlockContent.php
Provides base field definitions for an entity type.
Comment::baseFieldDefinitions in core/modules/comment/src/Entity/Comment.php
Provides base field definitions for an entity type.
CommentTestBaseField::baseFieldDefinitions in core/modules/comment/tests/modules/comment_base_field_test/src/Entity/CommentTestBaseField.php
Provides base field definitions for an entity type.
contact_storage_test_entity_base_field_info in core/modules/contact/tests/modules/contact_storage_test/contact_storage_test.module
Implements hook_entity_base_field_info().
ContentModerationState::baseFieldDefinitions in core/modules/content_moderation/src/Entity/ContentModerationState.php
Provides base field definitions for an entity type.
EntityDefinitionTestTrait::addBaseField in core/modules/system/tests/src/Functional/Entity/Traits/EntityDefinitionTestTrait.php
Adds a new base field to the 'entity_test_update' entity type.
EntityDefinitionTestTrait::addLongNameBaseField in core/modules/system/tests/src/Functional/Entity/Traits/EntityDefinitionTestTrait.php
Adds a long-named base field to the 'entity_test_update' entity type.
EntityDefinitionTestTrait::addRevisionableBaseField in core/modules/system/tests/src/Functional/Entity/Traits/EntityDefinitionTestTrait.php
Adds a new revisionable base field to the 'entity_test_update' entity type.
EntityDefinitionTestTrait::getUpdatedFieldStorageDefinitions in core/modules/system/tests/src/Functional/Entity/Traits/EntityDefinitionTestTrait.php
Returns the required rev / mul field definitions for an entity type.
EntityDefinitionUpdateTest::testInitialValue in core/tests/Drupal/KernelTests/Core/Entity/EntityDefinitionUpdateTest.php
Tests adding a base field with initial values.
EntityDefinitionUpdateTest::testInitialValueFromField in core/tests/Drupal/KernelTests/Core/Entity/EntityDefinitionUpdateTest.php
Tests adding a base field with initial values inherited from another field.
EntityDefinitionUpdateTest::testInitialValueFromFieldErrorHandling in core/tests/Drupal/KernelTests/Core/Entity/EntityDefinitionUpdateTest.php
Tests the error handling when using initial values from another field.
EntityDefinitionUpdateTest::testSingleActionCalls in core/tests/Drupal/KernelTests/Core/Entity/EntityDefinitionUpdateTest.php
Tests applying single updates.
EntityFieldTest::testEntityConstraintValidation in core/tests/Drupal/KernelTests/Core/Entity/EntityFieldTest.php
Tests validation constraints provided by the Entity API.
EntityKeysTest::testMultipleKeysCache in core/tests/Drupal/KernelTests/Core/Entity/EntityKeysTest.php
Tests the cache when multiple keys reference a single field.
EntityOwnerTrait::ownerBaseFieldDefinitions in core/modules/user/src/EntityOwnerTrait.php
Returns an array of base field definitions for entity owners.
EntityPublishedTrait::publishedBaseFieldDefinitions in core/lib/Drupal/Core/Entity/EntityPublishedTrait.php
Returns an array of base field definitions for publishing status.
EntityReferenceFieldTest::testTargetEntityNoLoad in core/tests/Drupal/KernelTests/Core/Entity/EntityReferenceFieldTest.php
Tests that the target entity is not unnecessarily loaded.
EntityReferenceFieldTest::testTargetEntityTypeMissing in core/tests/Drupal/KernelTests/Core/Entity/EntityReferenceFieldTest.php
Tests exception thrown with a missing target entity type.
EntitySchemaSubscriber::getWorkspaceFieldDefinition in core/modules/workspaces/src/EventSubscriber/EntitySchemaSubscriber.php
Gets the base field definition for the 'workspace' revision metadata field.
EntitySchemaSubscriber::onEntityTypeCreate in core/modules/system/tests/modules/entity_test_update/src/EventSubscriber/EntitySchemaSubscriber.php
EntitySchemaSubscriber::onEntityTypeUpdate in core/modules/system/tests/modules/entity_test_update/src/EventSubscriber/EntitySchemaSubscriber.php
EntitySerializedField::baseFieldDefinitions in core/modules/system/tests/modules/entity_test/src/Entity/EntitySerializedField.php
Provides base field definitions for an entity type.
EntityTest::baseFieldDefinitions in core/modules/system/tests/modules/entity_test/src/Entity/EntityTest.php
EntityTestBaseFieldDisplay::baseFieldDefinitions in core/modules/system/tests/modules/entity_test/src/Entity/EntityTestBaseFieldDisplay.php
Provides base field definitions for an entity type.
EntityTestComputedBundleField::baseFieldDefinitions in core/modules/system/tests/modules/entity_test/src/Entity/EntityTestComputedBundleField.php
Provides base field definitions for an entity type.
EntityTestComputedField::baseFieldDefinitions in core/modules/system/tests/modules/entity_test/src/Entity/EntityTestComputedField.php
EntityTestConstraints::baseFieldDefinitions in core/modules/system/tests/modules/entity_test/src/Entity/EntityTestConstraints.php
Provides base field definitions for an entity type.
EntityTestConstraintViolation::baseFieldDefinitions in core/modules/system/tests/modules/entity_test/src/Entity/EntityTestConstraintViolation.php
Provides base field definitions for an entity type.
EntityTestDefaultValue::baseFieldDefinitions in core/modules/system/tests/modules/entity_test/src/Entity/EntityTestDefaultValue.php
Provides base field definitions for an entity type.
EntityTestFieldMethods::baseFieldDefinitions in core/modules/system/tests/modules/entity_test/src/Entity/EntityTestFieldMethods.php
Provides base field definitions for an entity type.
EntityTestMapField::baseFieldDefinitions in core/modules/system/tests/modules/entity_test/src/Entity/EntityTestMapField.php
Provides base field definitions for an entity type.
EntityTestMulChanged::baseFieldDefinitions in core/modules/system/tests/modules/entity_test/src/Entity/EntityTestMulChanged.php
Provides base field definitions for an entity type.
EntityTestMulDefaultValue::baseFieldDefinitions in core/modules/system/tests/modules/entity_test/src/Entity/EntityTestMulDefaultValue.php
Provides base field definitions for an entity type.
EntityTestMulRev::baseFieldDefinitions in core/modules/system/tests/modules/entity_test/src/Entity/EntityTestMulRev.php
Provides base field definitions for an entity type.
EntityTestMulRevChanged::baseFieldDefinitions in core/modules/system/tests/modules/entity_test/src/Entity/EntityTestMulRevChanged.php
Provides base field definitions for an entity type.
EntityTestRev::baseFieldDefinitions in core/modules/system/tests/modules/entity_test/src/Entity/EntityTestRev.php
Provides base field definitions for an entity type.
EntityTestStringId::baseFieldDefinitions in core/modules/system/tests/modules/entity_test/src/Entity/EntityTestStringId.php
Provides base field definitions for an entity type.
EntityTestTest::createEntity in core/modules/jsonapi/tests/src/Functional/EntityTestTest.php
EntityTestUniqueConstraint::baseFieldDefinitions in core/modules/system/tests/modules/entity_test/src/Entity/EntityTestUniqueConstraint.php
Provides base field definitions for an entity type.
EntityTestUpdate::baseFieldDefinitions in core/modules/system/tests/modules/entity_test_update/src/Entity/EntityTestUpdate.php
EntityTestWithBundle::baseFieldDefinitions in core/modules/system/tests/modules/entity_test/src/Entity/EntityTestWithBundle.php
EntityTestWithRevisionLog::baseFieldDefinitions in core/modules/system/tests/modules/entity_test_revlog/src/Entity/EntityTestWithRevisionLog.php
Provides base field definitions for an entity type.
EntityTypedDataDefinitionTest::testFields in core/tests/Drupal/KernelTests/Core/Entity/EntityTypedDataDefinitionTest.php
Tests deriving metadata about fields.
EntityViewsDataTest::setUp in core/modules/views/tests/src/Kernel/Entity/EntityViewsDataTest.php
EntityViewsDataTest::testDataTableFields in core/modules/views/tests/src/Kernel/Entity/EntityViewsDataTest.php
Tests fields on the data table.
EntityViewsDataTest::testRevisionTableFields in core/modules/views/tests/src/Kernel/Entity/EntityViewsDataTest.php
Tests fields on the revision table.
entity_reference_test_entity_base_field_info in core/modules/system/tests/modules/entity_reference_test/entity_reference_test.module
Implements hook_entity_base_field_info().
entity_schema_test_entity_base_field_info in core/modules/system/tests/modules/entity_schema_test/entity_schema_test.module
Implements hook_entity_base_field_info().
entity_test_entity_base_field_info in core/modules/system/tests/modules/entity_test/entity_test.module
Implements hook_entity_base_field_info().
entity_test_update_entity_base_field_info in core/modules/system/tests/modules/entity_test_update/entity_test_update.module
Implements hook_entity_base_field_info().
FieldableEntityDefinitionUpdateTest::setUp in core/tests/Drupal/KernelTests/Core/Entity/FieldableEntityDefinitionUpdateTest.php
FieldItemDataDefinition::createFromDataType in core/lib/Drupal/Core/Field/TypedData/FieldItemDataDefinition.php
Creates a new data definition object.
FieldItemNormalizerTest::setUp in core/modules/jsonapi/tests/src/Kernel/Normalizer/FieldItemNormalizerTest.php
FieldSettingsTest::testBaseFieldSettings in core/tests/Drupal/KernelTests/Core/Field/FieldSettingsTest.php
@covers \Drupal\Core\Field\BaseFieldDefinition::getSettings @covers \Drupal\Core\Field\BaseFieldDefinition::setSettings
FieldSettingsTest::testBaseFieldSettingsOnClone in core/tests/Drupal/KernelTests/Core/Field/FieldSettingsTest.php
Tests the base field settings on a cloned base field definition object.
FieldTypePluginManagerTest::testCreateInstance in core/modules/field/tests/src/Kernel/FieldTypePluginManagerTest.php
Tests creation of field item instances.
FieldTypePluginManagerTest::testCreateInstanceWithConfig in core/modules/field/tests/src/Kernel/FieldTypePluginManagerTest.php
Tests creation of field item instances.
FieldTypePluginManagerTest::testMainProperty in core/modules/field/tests/src/Kernel/FieldTypePluginManagerTest.php
Tests all field items provide an existing main property.
File::baseFieldDefinitions in core/modules/file/src/Entity/File.php
Provides base field definitions for an entity type.
FormatterPluginManagerTest::testNotApplicableFallback in core/modules/field/tests/src/Kernel/FormatterPluginManagerTest.php
Tests that getInstance falls back on default if current is not applicable.
hook_entity_base_field_info in core/lib/Drupal/Core/Entity/entity.api.php
Provides custom base field definitions for a content entity type.
jsonapi_test_reference_types_entity_base_field_info in core/modules/jsonapi/tests/modules/jsonapi_test_reference_types/jsonapi_test_reference_types.module
Implements hook_entity_base_field_info().
link_test_base_field_entity_base_field_info in core/modules/link/tests/modules/link_test_base_field/link_test_base_field.module
Implements hook_entity_base_field_info().
MapBaseFieldTest::testUninstallMapItemBaseField in core/tests/Drupal/KernelTests/Core/Field/MapBaseFieldTest.php
Tests uninstalling map item base field.
Media::baseFieldDefinitions in core/modules/media/src/Entity/Media.php
Provides base field definitions for an entity type.
MenuLinkContent::baseFieldDefinitions in core/modules/menu_link_content/src/Entity/MenuLinkContent.php
Provides base field definitions for an entity type.
Message::baseFieldDefinitions in core/modules/contact/src/Entity/Message.php
Provides base field definitions for an entity type.
Node::baseFieldDefinitions in core/modules/node/src/Entity/Node.php
Provides base field definitions for an entity type.
NoLanguageEntityTest::baseFieldDefinitions in core/modules/language/tests/language_test/src/Entity/NoLanguageEntityTest.php
PathAlias::baseFieldDefinitions in core/modules/path_alias/src/Entity/PathAlias.php
Provides base field definitions for an entity type.
path_entity_base_field_info in core/modules/path/path.module
Implements hook_entity_base_field_info().
RecursiveContextualValidatorTest::testRecursiveViolationPropagation in core/tests/Drupal/KernelTests/Core/TypedData/RecursiveContextualValidatorTest.php
Tests recursive propagation of violations.
rest_test_entity_base_field_info in core/modules/rest/tests/modules/rest_test/rest_test.module
Implements hook_entity_base_field_info().
RevisionLogEntityTrait::revisionLogBaseFieldDefinitions in core/lib/Drupal/Core/Entity/RevisionLogEntityTrait.php
Provides revision-related base field definitions for an entity type.
Shortcut::baseFieldDefinitions in core/modules/shortcut/src/Entity/Shortcut.php
Provides base field definitions for an entity type.
Sql::getFieldSchema in core/modules/migrate/src/Plugin/migrate/id_map/Sql.php
Creates schema from an ID definition.
SqlContentEntityStorageSchemaTest::testOnFieldStorageDefinitionUpdateShared in core/tests/Drupal/KernelTests/Core/Entity/Sql/SqlContentEntityStorageSchemaTest.php
Tests updating a shared table field definition.
StringIdEntityTest::baseFieldDefinitions in core/modules/migrate/tests/modules/migrate_entity_test/src/Entity/StringIdEntityTest.php
Term::baseFieldDefinitions in core/modules/taxonomy/src/Entity/Term.php
Provides base field definitions for an entity type.
TestItemTest::testTestItem in core/modules/field/tests/src/Kernel/TestItemTest.php
Tests using entity fields of the test field type.
TextItemBaseTest::testTextFieldSampleValue in core/modules/text/tests/src/Kernel/TextItemBaseTest.php
Tests creation of sample values.
TypedDataTest::testTypedDataValidation in core/tests/Drupal/KernelTests/Core/TypedData/TypedDataTest.php
Tests typed data validation.
ValidReferenceConstraintValidatorTest::testValidation in core/tests/Drupal/KernelTests/Core/Entity/ValidReferenceConstraintValidatorTest.php
Tests the ValidReferenceConstraintValidator.
views_entity_test_entity_base_field_info in core/modules/views/tests/modules/views_entity_test/views_entity_test.module
Implements hook_entity_bundle_field_info().
WidgetPluginManagerTest::testNotApplicableFallback in core/modules/field/tests/src/Kernel/WidgetPluginManagerTest.php
Tests that getInstance falls back on default if current is not applicable.
Workspace::baseFieldDefinitions in core/modules/workspaces/src/Entity/Workspace.php
Provides base field definitions for an entity type.