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. Search 11.x for entityType
  6. 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/Attribute/EntityType.php Defines an entity type for plugin discovery.
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.

All search results

Title Object type File name Summary
ActionResourceTestBase::$entityTypeId property core/modules/system/tests/src/Functional/Rest/ActionResourceTestBase.php The tested entity type.
ActionTest::$entityTypeId property core/modules/jsonapi/tests/src/Functional/ActionTest.php The tested entity type.
AddModerationConfigActionTest::testAddEntityTypeAndBundle function core/modules/content_moderation/tests/src/Kernel/ConfigAction/AddModerationConfigActionTest.php Tests adding entity types and bundles to a workflow.
BaseFieldDefinition::getTargetEntityTypeId function core/lib/Drupal/Core/Field/BaseFieldDefinition.php Returns the ID of the entity type the field is attached to.
BaseFieldDefinition::setTargetEntityTypeId function core/lib/Drupal/Core/Field/BaseFieldDefinition.php Sets the ID of the type of the entity this field is attached to.
BaseFieldOverrideResourceTestBase::$entityTypeId property core/tests/Drupal/FunctionalTests/Rest/BaseFieldOverrideResourceTestBase.php The tested entity type.
BaseFieldOverrideTest::$entityTypeId property core/modules/jsonapi/tests/src/Functional/BaseFieldOverrideTest.php The tested entity type.
BlockConfigEntityUnitTest::$entityType property core/modules/block/tests/src/Unit/BlockConfigEntityUnitTest.php The entity type used for testing.
BlockConfigEntityUnitTest::$entityTypeId property core/modules/block/tests/src/Unit/BlockConfigEntityUnitTest.php The ID of the type of the entity under test.
BlockConfigEntityUnitTest::$entityTypeManager property core/modules/block/tests/src/Unit/BlockConfigEntityUnitTest.php The entity type manager used for testing.
BlockContentEntityReferenceSelectionTest::$entityTypeManager property core/modules/block_content/tests/src/Kernel/BlockContentEntityReferenceSelectionTest.php The entity type manager.
BlockContentHooks::entityTypeAlter function core/modules/block_content/src/Hook/BlockContentHooks.php Implements hook_entity_type_alter().
BlockContentResourceTestBase::$entityTypeId property core/modules/block_content/tests/src/Functional/Rest/BlockContentResourceTestBase.php The tested entity type.
BlockContentTest::$entityTypeId property core/modules/jsonapi/tests/src/Functional/BlockContentTest.php The tested entity type.
BlockContentTypeResourceTestBase::$entityTypeId property core/modules/block_content/tests/src/Functional/Rest/BlockContentTypeResourceTestBase.php The tested entity type.
BlockContentTypeTest::$entityTypeId property core/modules/jsonapi/tests/src/Functional/BlockContentTypeTest.php The tested entity type.
BlockFormTest::$entityTypeManager property core/modules/block/tests/src/Unit/BlockFormTest.php The entity type manager.
BlockResourceTestBase::$entityTypeId property core/modules/block/tests/src/Functional/Rest/BlockResourceTestBase.php The tested entity type.
BlockTest::$entityTypeId property core/modules/jsonapi/tests/src/Functional/BlockTest.php The tested entity type.
BooleanFormatterTest::$entityType property core/modules/field/tests/src/Kernel/Boolean/BooleanFormatterTest.php
BreakLockForm::$entityTypeManager property core/modules/views_ui/src/Form/BreakLockForm.php Stores the entity type manager.
BulkDeleteTest::$entityTypeId property core/modules/field/tests/src/Kernel/BulkDeleteTest.php The entity type to be used in the test classes.
BulkForm::getEntityTypeId function core/modules/views/src/Plugin/views/field/BulkForm.php Returns the entity type identifier.
BulkForm::getEntityTypeManager function core/modules/views/src/Plugin/views/field/BulkForm.php
Bundle::$entityType property core/modules/views/src/Plugin/views/filter/Bundle.php The entity type definition.
Bundle::$entityTypeId property core/modules/views/src/Plugin/views/filter/Bundle.php The entity type for the filter.
BundleClassTest::testAmbiguousBundleClassExceptionEntityTypeRepository function core/tests/Drupal/KernelTests/Core/Entity/BundleClassTest.php Checks exception is thrown if two entity types share the same bundle class.
BundleDeleteFormTest::$entityTypeManager property core/tests/Drupal/KernelTests/Core/Entity/BundleDeleteFormTest.php The entity type manager.
CacheableMetadataCalculationTest::$entityTypeManager property core/modules/views/tests/src/Kernel/CacheableMetadataCalculationTest.php The entity type manager.
ChainEntityResolverTest::$testEntityType property core/modules/serialization/tests/src/Unit/EntityResolver/ChainEntityResolverTest.php A test entity type.
ChangeUserRoleBase::$entityType property core/modules/user/src/Plugin/Action/ChangeUserRoleBase.php The user role entity type.
Comment::getCommentedEntityTypeId function core/modules/comment/src/Entity/Comment.php Returns the type of the entity to which the comment is attached.
CommentBundlesTest::$targetEntityTypes property core/modules/comment/tests/src/Kernel/CommentBundlesTest.php Entity type ids to use for target_entity_type_id on comment bundles.
CommentDisplayConfigurableTestHooks::entityTypeBuild function core/modules/comment/tests/modules/comment_display_configurable_test/src/Hook/CommentDisplayConfigurableTestHooks.php Implements hook_entity_type_build().
CommentHooks::fieldInfoEntityTypeUiDefinitionsAlter function core/modules/comment/src/Hook/CommentHooks.php Implements hook_field_info_entity_type_ui_definitions_alter().
CommentInterface::getCommentedEntityTypeId function core/modules/comment/src/CommentInterface.php Returns the type of the entity to which the comment is attached.
CommentResourceTestBase::$entityTypeId property core/modules/comment/tests/src/Functional/Rest/CommentResourceTestBase.php The tested entity type.
CommentTest::$entityTypeId property core/modules/jsonapi/tests/src/Functional/CommentTest.php The tested entity type.
CommentTestHooks::entityTypeAlter function core/modules/comment/tests/modules/comment_test/src/Hook/CommentTestHooks.php Implements hook_entity_type_alter().
CommentType::getTargetEntityTypeId function core/modules/comment/src/Entity/CommentType.php Gets the target entity type id for this comment type.
CommentTypeForm::$entityTypeManager property core/modules/comment/src/CommentTypeForm.php Entity type manager service.
CommentTypeForm::entityTypeSupportsComments function core/modules/comment/src/CommentTypeForm.php Wraps _comment_entity_uses_integer_id().
CommentTypeInterface::getTargetEntityTypeId function core/modules/comment/src/CommentTypeInterface.php Gets the target entity type id for this comment type.
CommentTypeResourceTestBase::$entityTypeId property core/modules/comment/tests/src/Functional/Rest/CommentTypeResourceTestBase.php The tested entity type.
CommentTypeTest::$entityTypeId property core/modules/jsonapi/tests/src/Functional/CommentTypeTest.php The tested entity type.
ConfigActionManager::getShorthandActionIdsForEntityType function core/lib/Drupal/Core/Config/Action/ConfigActionManager.php Gets a map of shorthand action IDs to plugin IDs for an entity type.
ConfigEntityBaseUnitTest::$entityType property core/tests/Drupal/Tests/Core/Config/Entity/ConfigEntityBaseUnitTest.php The entity type used for testing.
ConfigEntityBaseUnitTest::$entityTypeId property core/tests/Drupal/Tests/Core/Config/Entity/ConfigEntityBaseUnitTest.php The ID of the type of the entity under test.
ConfigEntityBaseUnitTest::$entityTypeManager property core/tests/Drupal/Tests/Core/Config/Entity/ConfigEntityBaseUnitTest.php The entity type manager used for testing.
ConfigEntityBaseUnitTest::setUpMockEntityType function core/tests/Drupal/Tests/Core/Config/Entity/ConfigEntityBaseUnitTest.php Reinitializes the entity type as a mock object.

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