Search for entityType

  1. Search 7.x for entityType
  2. Search 9.5.x for entityType
  3. Search 8.9.x for entityType
  4. Search 10.3.x for entityType
  5. Other projects

Exact matches

These are exact matches according to your search
Title Object type File name Summary
EntityType class core/lib/Drupal/Core/Entity/EntityType.php Provides an implementation of an entity type and its metadata.
EntityType class core/lib/Drupal/Core/Entity/Annotation/EntityType.php Defines an Entity type annotation object.
EntityType class core/lib/Drupal/Core/Entity/Attribute/EntityType.php Defines an entity type for plugin discovery.

All search results

Title Object type File name Summary
EntityInterface::getEntityTypeId function core/lib/Drupal/Core/Entity/EntityInterface.php Gets the ID of the type of the entity.
EntityKernelTestBase::$entityTypeManager property core/tests/Drupal/KernelTests/Core/Entity/EntityKernelTestBase.php The entity type manager service.
EntityLabel::$entityTypeManager property core/modules/views/src/Plugin/views/field/EntityLabel.php EntityTypeManager class.
EntityLastInstalledSchemaRepository::$entityTypeDefinitions property core/lib/Drupal/Core/Entity/EntityLastInstalledSchemaRepository.php The loaded installed entity type definitions.
EntityLinkTest::$entityTypeManager property core/tests/Drupal/Tests/Core/Entity/EntityLinkTest.php The mocked entity type manager.
EntityListBuilder::$entityType property core/lib/Drupal/Core/Entity/EntityListBuilder.php Information about the entity type.
EntityListBuilder::$entityTypeId property core/lib/Drupal/Core/Entity/EntityListBuilder.php The entity type ID.
EntityListBuilderTest::$entityType property core/tests/Drupal/Tests/Core/Entity/EntityListBuilderTest.php The entity type used for testing.
EntityModerationRouteProvider::getEntityTypeIdKeyType function core/modules/content_moderation/src/Entity/Routing/EntityModerationRouteProvider.php Gets the type of the ID key for a given entity type.
EntityNormalizerTest::$entityTypeManager property core/modules/serialization/tests/src/Unit/Normalizer/EntityNormalizerTest.php The mock entity type manager.
EntityNormalizerTest::$entityTypeRepository property core/modules/serialization/tests/src/Unit/Normalizer/EntityNormalizerTest.php The mock entity type repository.
EntityNormalizerTest::testDenormalizeWithNoEntityType function core/modules/serialization/tests/src/Unit/Normalizer/EntityNormalizerTest.php Tests the denormalize() method with no entity type provided in context.
EntityNormalizerTest::testDenormalizeWithNoFieldableEntityType function core/modules/serialization/tests/src/Unit/Normalizer/EntityNormalizerTest.php Tests the denormalize method with no bundle defined.
EntityOperations::$entityTypeManager property core/modules/content_moderation/src/EntityOperations.php The Entity Type Manager service.
EntityOperations::$entityTypeManager property core/modules/workspaces/src/EntityOperations.php The entity type manager service.
EntityOperations::$entityTypeManager property core/modules/views/src/Plugin/views/field/EntityOperations.php The entity type manager.
EntityOperations::getEntityTypeId function core/modules/views/src/Plugin/views/field/EntityOperations.php
EntityOperations::getEntityTypeManager function core/modules/views/src/Plugin/views/field/EntityOperations.php
EntityOperationsUnitTest::$entityTypeManager property core/modules/views/tests/src/Unit/Plugin/views/field/EntityOperationsUnitTest.php The entity type manager.
EntityPermissionsForm::$entityTypeManager property core/modules/user/src/Form/EntityPermissionsForm.php The entity type manager service.
EntityPermissionsRouteProvider::$entityTypeManager property core/modules/user/src/Entity/EntityPermissionsRouteProvider.php The entity type manager.
EntityQueryTest::testWithTwoEntityReferenceFieldsToSameEntityType function core/tests/Drupal/KernelTests/Core/Entity/EntityQueryTest.php Tests that EntityQuery works when querying the same entity from two fields.
EntityReference::getReferencedEntityType function core/modules/views/src/Plugin/views/filter/EntityReference.php Gets the target entity type referenced by this field.
EntityReferenceEntityFormatter::$entityTypeManager property core/lib/Drupal/Core/Field/Plugin/Field/FieldFormatter/EntityReferenceEntityFormatter.php The entity type manager.
EntityReferenceFieldCreationTest::testAddReferenceFieldTargetingEntityTypeWithoutId function core/modules/system/tests/src/Functional/Entity/EntityReferenceFieldCreationTest.php Tests that entity reference fields cannot target entity types without IDs.
EntityReferenceFieldTest::$entityType property core/tests/Drupal/KernelTests/Core/Entity/EntityReferenceFieldTest.php The entity type used in this test.
EntityReferenceFieldTest::$referencedEntityType property core/tests/Drupal/KernelTests/Core/Entity/EntityReferenceFieldTest.php The entity type that is being referenced.
EntityReferenceFieldTest::testTargetEntityTypeMissing function core/tests/Drupal/KernelTests/Core/Entity/EntityReferenceFieldTest.php Tests exception thrown with a missing target entity type.
EntityReferenceFieldTranslatedReferenceViewTest::$testEntityTypeName property core/modules/field/tests/src/Functional/EntityReference/EntityReferenceFieldTranslatedReferenceViewTest.php The test entity type name.
EntityReferenceFormatterTest::$entityType property core/modules/field/tests/src/Kernel/EntityReference/EntityReferenceFormatterTest.php The entity type used in this test.
EntityReferenceIntegrationTest::$entityType property core/modules/field/tests/src/Functional/EntityReference/EntityReferenceIntegrationTest.php The entity type used in this test.
EntityReferenceIntegrationTest::testSupportedEntityTypesAndWidgets function core/modules/field/tests/src/Functional/EntityReference/EntityReferenceIntegrationTest.php Tests the entity reference field with all its supported field widgets.
EntityReferenceSupportedNewEntitiesConstraintValidator::$entityTypeManager property core/modules/workspaces/src/Plugin/Validation/Constraint/EntityReferenceSupportedNewEntitiesConstraintValidator.php The entity type manager.
EntityReferenceSupportedNewEntitiesConstraintValidatorTest::$entityTypeManager property core/modules/workspaces/tests/src/Kernel/EntityReferenceSupportedNewEntitiesConstraintValidatorTest.php The entity type manager.
EntityReferenceTranslationDeriver::$entityTypeManager property core/modules/migrate_drupal/src/Plugin/migrate/EntityReferenceTranslationDeriver.php The entity type manager.
EntityRepository::$entityTypeManager property core/lib/Drupal/Core/Entity/EntityRepository.php The entity type manager.
EntityRepositoryTest::$entityTypeManager property core/tests/Drupal/KernelTests/Core/Entity/EntityRepositoryTest.php The entity type manager.
EntityRepositoryTest::$entityTypeManager property core/tests/Drupal/Tests/Core/Entity/EntityRepositoryTest.php The entity type manager.
EntityRepositoryTest::assertEntityType function core/tests/Drupal/KernelTests/Core/Entity/EntityRepositoryTest.php Asserts that the entity has the expected entity type ID.
EntityResolverManager::$entityTypeManager property core/lib/Drupal/Core/Entity/EntityResolverManager.php The entity type manager service.
EntityResolverManager::$entityTypes property core/lib/Drupal/Core/Entity/EntityResolverManager.php The list of all entity types.
EntityResolverManager::getEntityTypes function core/lib/Drupal/Core/Entity/EntityResolverManager.php Gets the list of all entity types.
EntityResolverManagerTest::$entityTypeManager property core/tests/Drupal/Tests/Core/Entity/EntityResolverManagerTest.php The mocked entity type manager.
EntityResolverManagerTest::providerTestSetRouteOptionsWithEntityTypeNoUpcasting function core/tests/Drupal/Tests/Core/Entity/EntityResolverManagerTest.php Data provider for testSetRouteOptionsWithEntityTypeNoUpcasting.
EntityResolverManagerTest::providerTestSetRouteOptionsWithEntityTypeUpcasting function core/tests/Drupal/Tests/Core/Entity/EntityResolverManagerTest.php Data provider for testSetRouteOptionsWithEntityTypeUpcasting.
EntityResolverManagerTest::setupEntityTypes function core/tests/Drupal/Tests/Core/Entity/EntityResolverManagerTest.php Creates the entity type manager mock returning entity type objects.
EntityResolverManagerTest::testSetRouteOptionsWithEntityTypeNoUpcasting function core/tests/Drupal/Tests/Core/Entity/EntityResolverManagerTest.php Tests setRouteOptions() with an entity type parameter.
EntityResolverManagerTest::testSetRouteOptionsWithEntityTypeUpcasting function core/tests/Drupal/Tests/Core/Entity/EntityResolverManagerTest.php Tests setRouteOptions() with an entity type parameter, upcasting.
EntityResource::$entityType property core/modules/rest/src/Plugin/rest/resource/EntityResource.php The entity type targeted by this resource.
EntityResource::$entityTypeManager property core/modules/jsonapi/src/Controller/EntityResource.php The entity type manager.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.