Search for getEntityTypeId

  1. Search 7.x for getEntityTypeId
  2. Search 9.5.x for getEntityTypeId
  3. Search 8.9.x for getEntityTypeId
  4. Search 11.x for getEntityTypeId
  5. Other projects
Title Object type File name Summary
BaseFieldDefinition::getTargetEntityTypeId function core/lib/Drupal/Core/Field/BaseFieldDefinition.php
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
BulkForm::getEntityTypeId function core/modules/views/src/Plugin/views/field/BulkForm.php
CommentType::getTargetEntityTypeId function core/modules/comment/src/Entity/CommentType.php
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
ConfigManagerInterface::getEntityTypeIdByName function core/lib/Drupal/Core/Config/ConfigManagerInterface.php Returns the entity type of a configuration object.
ContentLanguageSettings::getTargetEntityTypeId function core/modules/language/src/Entity/ContentLanguageSettings.php
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
DataEntityRow::getEntityTypeId 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::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
EntityBase::getEntityTypeId function core/lib/Drupal/Core/Entity/EntityBase.php
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
EntityDataDefinitionInterface::getEntityTypeId function core/lib/Drupal/Core/Entity/TypedData/EntityDataDefinitionInterface.php Gets the entity type ID.
EntityDisplayBase::getTargetEntityTypeId function core/lib/Drupal/Core/Entity/EntityDisplayBase.php
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.
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
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
EntityRevisionTestDestination::getEntityTypeId function core/modules/migrate/tests/src/Unit/Plugin/migrate/destination/EntityRevisionTest.php
EntityRow::getEntityTypeId function core/modules/views/src/Plugin/views/row/EntityRow.php
EntityStorageBase::getEntityTypeId function core/lib/Drupal/Core/Entity/EntityStorageBase.php
EntityStorageInterface::getEntityTypeId function core/lib/Drupal/Core/Entity/EntityStorageInterface.php Gets the entity type ID.
EntityTestDestination::getEntityTypeId function core/modules/migrate/tests/src/Unit/Plugin/migrate/destination/EntityContentBaseTest.php
EntityTranslationRenderTrait::getEntityTypeId function core/modules/views/src/Entity/Render/EntityTranslationRenderTrait.php Returns the entity type identifier.
EntityUnitTest::testGetEntityTypeId function core/tests/Drupal/Tests/Core/Entity/EntityUnitTest.php @covers ::getEntityTypeId
FieldConfigBase::getTargetEntityTypeId function core/lib/Drupal/Core/Field/FieldConfigBase.php
FieldConfigListBuilder::$targetEntityTypeId property core/modules/field_ui/src/FieldConfigListBuilder.php The name of the entity type the listed fields are attached to.
FieldDefinition::getTargetEntityTypeId function core/lib/Drupal/Core/Field/FieldDefinition.php
FieldDefinitionInterface::getTargetEntityTypeId function core/lib/Drupal/Core/Field/FieldDefinitionInterface.php Returns the ID of the entity type the field is attached to.
FieldStorageConfig::getTargetEntityTypeId function core/modules/field/src/Entity/FieldStorageConfig.php
FieldStorageDefinitionInterface::getTargetEntityTypeId function core/lib/Drupal/Core/Field/FieldStorageDefinitionInterface.php Returns the ID of the entity type the field is attached to.
LinkBase::getEntityTypeId function core/modules/views/src/Plugin/views/field/LinkBase.php
QueryBase::getEntityTypeId function core/lib/Drupal/Core/Entity/Query/QueryBase.php
QueryInterface::getEntityTypeId function core/lib/Drupal/Core/Entity/Query/QueryInterface.php Gets the ID of the entity type for this query.
RenderedEntity::getEntityTypeId function core/modules/views/src/Plugin/views/field/RenderedEntity.php
ResourceType::getEntityTypeId function core/modules/jsonapi/src/ResourceType/ResourceType.php Gets the entity type ID.
TestDefaultHtmlRouteProvider::getEntityTypeIdKeyType function core/tests/Drupal/Tests/Core/Entity/Routing/DefaultHtmlRouteProviderTest.php
ViewUI::getEntityTypeId function core/modules/views_ui/src/ViewUI.php

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