Search for getTargetEntityTypeId

  1. Search 7.x for getTargetEntityTypeId
  2. Search 9.5.x for getTargetEntityTypeId
  3. Search 8.9.x for getTargetEntityTypeId
  4. Search 11.x for getTargetEntityTypeId
  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.
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.
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.
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.
FieldConfigBase::getTargetEntityTypeId function core/lib/Drupal/Core/Field/FieldConfigBase.php Returns the ID of the entity type the field is attached to.
FieldDefinition::getTargetEntityTypeId function core/lib/Drupal/Core/Field/FieldDefinition.php Returns the ID of the entity type the field is attached to.
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 Returns the ID of the entity type the field is attached to.
FieldStorageDefinitionInterface::getTargetEntityTypeId function core/lib/Drupal/Core/Field/FieldStorageDefinitionInterface.php Returns the ID of the entity type the field is attached to.

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