7 calls to EntityDataDefinition::create() in Drupal 10
- EntityAdapter::createFromEntity in core/
lib/ Drupal/ Core/ Entity/ Plugin/ DataType/ EntityAdapter.php - Creates an instance wrapping the given entity.
- EntityContextDefinition::getSampleValues in core/
lib/ Drupal/ Core/ Plugin/ Context/ EntityContextDefinition.php - Returns typed data objects representing this context definition.
- EntityDataDefinition::createFromDataType in core/
lib/ Drupal/ Core/ Entity/ TypedData/ EntityDataDefinition.php - Creates a new data definition object.
- EntityFieldTest::doTestIntrospection in core/
tests/ Drupal/ KernelTests/ Core/ Entity/ EntityFieldTest.php - Executes the introspection tests for the given entity type.
- EntityReferenceItem::propertyDefinitions in core/
lib/ Drupal/ Core/ Field/ Plugin/ Field/ FieldType/ EntityReferenceItem.php - Defines field item properties.
- EntityTypedDataDefinitionTest::testEntities in core/
tests/ Drupal/ KernelTests/ Core/ Entity/ EntityTypedDataDefinitionTest.php - Tests deriving metadata about entities.
- EntityTypedDataDefinitionTest::testEntityDefinitionIsInternal in core/
tests/ Drupal/ KernelTests/ Core/ Entity/ EntityTypedDataDefinitionTest.php - Tests that an entity annotation can mark the data definition as internal.