Search for getEntityType

  1. Search 7.x for getEntityType
  2. Search 9.5.x for getEntityType
  3. Search 8.9.x for getEntityType
  4. Search 10.3.x for getEntityType
  5. Other projects
Title Object type File name Summary
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.
Book::getEntityTypeId function core/modules/book/src/Plugin/migrate/destination/Book.php Finds the entity type from configuration or plugin ID.
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
CommentBundlesTest::$targetEntityTypes property core/modules/comment/tests/src/Kernel/CommentBundlesTest.php Entity type ids to use for target_entity_type_id on comment bundles.
CommentType::getTargetEntityTypeId function core/modules/comment/src/Entity/CommentType.php Gets the target entity type id for this comment type.
CommentTypeInterface::getTargetEntityTypeId function core/modules/comment/src/CommentTypeInterface.php Gets the target entity type id for this comment type.
ConfigManager::getEntityTypeIdByName function core/lib/Drupal/Core/Config/ConfigManager.php Returns the entity type of a configuration object.
ConfigManager::getEntityTypeManager function core/lib/Drupal/Core/Config/ConfigManager.php Gets the entity type manager.
ConfigManagerInterface::getEntityTypeIdByName function core/lib/Drupal/Core/Config/ConfigManagerInterface.php Returns the entity type of a configuration object.
ConfigManagerInterface::getEntityTypeManager function core/lib/Drupal/Core/Config/ConfigManagerInterface.php Gets the entity type manager.
ContentLanguageSettings::getTargetEntityTypeId function core/modules/language/src/Entity/ContentLanguageSettings.php Gets the entity type ID this config applies to.
ContentLanguageSettingsInterface::getTargetEntityTypeId function core/modules/language/src/ContentLanguageSettingsInterface.php Gets the entity type ID this config applies to.
ContentLanguageSettingsUnitTest::testTargetEntityTypeId function core/modules/language/tests/src/Unit/ContentLanguageSettingsUnitTest.php @covers ::getTargetEntityTypeId
ContentModeration::getEntityTypes function core/modules/content_moderation/src/Plugin/WorkflowType/ContentModeration.php Gets the entity types the workflow is applied to.
ContentModerationInterface::getEntityTypes function core/modules/content_moderation/src/Plugin/WorkflowType/ContentModerationInterface.php Gets the entity types the workflow is applied to.
DataEntityRow::getEntityTypeId function core/modules/rest/src/Plugin/views/row/DataEntityRow.php Returns the entity type identifier.
DataEntityRow::getEntityTypeManager function core/modules/rest/src/Plugin/views/row/DataEntityRow.php
DefaultHtmlRouteProvider::getEntityTypeIdKeyType function core/lib/Drupal/Core/Entity/Routing/DefaultHtmlRouteProvider.php Gets the type of the ID key for a given entity type.
DefaultHtmlRouteProviderTest::getEntityType function core/tests/Drupal/Tests/Core/Entity/Routing/DefaultHtmlRouteProviderTest.php
DefaultHtmlRouteProviderTest::testGetEntityTypeIdKeyType function core/tests/Drupal/Tests/Core/Entity/Routing/DefaultHtmlRouteProviderTest.php @covers ::getEntityTypeIdKeyType
DefaultHtmlRouteProviderTest::testGetEntityTypeIdKeyTypeNotFieldable function core/tests/Drupal/Tests/Core/Entity/Routing/DefaultHtmlRouteProviderTest.php @covers ::getEntityTypeIdKeyType
DefaultsSectionStorage::getEntityTypes function core/modules/layout_builder/src/Plugin/SectionStorage/DefaultsSectionStorage.php Returns an array of relevant entity types.
DynamicEntityTypeParamConverterTrait::getEntityTypeFromDefaults function core/lib/Drupal/Core/ParamConverter/DynamicEntityTypeParamConverterTrait.php Determines the entity type ID given a route definition and route defaults.
EntityBase::getEntityType function core/lib/Drupal/Core/Entity/EntityBase.php Gets the entity type definition.
EntityBase::getEntityTypeId function core/lib/Drupal/Core/Entity/EntityBase.php Gets the ID of the type of the entity.
EntityContextDefinition::getEntityTypeId function core/lib/Drupal/Core/Plugin/Context/EntityContextDefinition.php Returns the entity type ID of this context.
EntityDataDefinition::getEntityTypeId function core/lib/Drupal/Core/Entity/TypedData/EntityDataDefinition.php Gets the entity type ID.
EntityDataDefinitionInterface::getEntityTypeId function core/lib/Drupal/Core/Entity/TypedData/EntityDataDefinitionInterface.php Gets the entity type ID.
EntityDefinitionUpdateManager::getEntityType function core/lib/Drupal/Core/Entity/EntityDefinitionUpdateManager.php Returns an entity type definition ready to be manipulated.
EntityDefinitionUpdateManager::getEntityTypes function core/lib/Drupal/Core/Entity/EntityDefinitionUpdateManager.php Returns all the entity type definitions, ready to be manipulated.
EntityDefinitionUpdateManagerInterface::getEntityType function core/lib/Drupal/Core/Entity/EntityDefinitionUpdateManagerInterface.php Returns an entity type definition ready to be manipulated.
EntityDefinitionUpdateManagerInterface::getEntityTypes function core/lib/Drupal/Core/Entity/EntityDefinitionUpdateManagerInterface.php Returns all the entity type definitions, ready to be manipulated.
EntityDefinitionUpdateTest::testGetEntityTypes function core/tests/Drupal/KernelTests/Core/Entity/EntityDefinitionUpdateTest.php @covers ::getEntityTypes
EntityDisplayBase::$targetEntityType property core/lib/Drupal/Core/Entity/EntityDisplayBase.php Entity type to be displayed.
EntityDisplayBase::getTargetEntityTypeId function core/lib/Drupal/Core/Entity/EntityDisplayBase.php Gets the entity type for which this display is used.
EntityDisplayBaseTest::testGetTargetEntityTypeId function core/tests/Drupal/Tests/Core/Config/Entity/EntityDisplayBaseTest.php @covers ::getTargetEntityTypeId
EntityDisplayInterface::getTargetEntityTypeId function core/lib/Drupal/Core/Entity/Display/EntityDisplayInterface.php Gets the entity type for which this display is used.
EntityDisplayModeBase::$targetEntityType property core/lib/Drupal/Core/Entity/EntityDisplayModeBase.php The entity type this form or view mode is used for.
EntityDisplayModeFormBase::$targetEntityTypeId property core/modules/field_ui/src/Form/EntityDisplayModeFormBase.php The entity type for which the display mode is being created or edited.
EntityFieldDefinitionTrait::getEntityTypeId function core/modules/migrate/src/EntityFieldDefinitionTrait.php Finds the entity type from configuration or plugin ID.
EntityFieldRenderer::getEntityTypeId function core/modules/views/src/Entity/Render/EntityFieldRenderer.php Returns the entity type identifier.
EntityFieldRenderer::getEntityTypeManager function core/modules/views/src/Entity/Render/EntityFieldRenderer.php
EntityFormDisplayAccessControlHandlerTest::getEntityTypeManager function core/tests/Drupal/Tests/Core/Entity/Access/EntityFormDisplayAccessControlHandlerTest.php Returns a mock Entity Type Manager.
EntityInterface::getEntityType function core/lib/Drupal/Core/Entity/EntityInterface.php Gets the entity type definition.
EntityInterface::getEntityTypeId function core/lib/Drupal/Core/Entity/EntityInterface.php Gets the ID of the type of the entity.
EntityModerationRouteProvider::getEntityTypeIdKeyType function core/modules/content_moderation/src/Entity/Routing/EntityModerationRouteProvider.php Gets the type of the ID key for a given entity type.
EntityOperations::getEntityTypeId function core/modules/views/src/Plugin/views/field/EntityOperations.php Returns the entity type identifier.
EntityOperations::getEntityTypeManager function core/modules/views/src/Plugin/views/field/EntityOperations.php

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