EntityDisplayBase::getTargetEntityTypeId

public EntityDisplayBase::getTargetEntityTypeId()

Gets the entity type for which this display is used.

Return value

string The entity type id.

Overrides EntityDisplayInterface::getTargetEntityTypeId

File

core/lib/Drupal/Core/Entity/EntityDisplayBase.php, line 198

Class

EntityDisplayBase
Provides a common base class for entity view and form displays.

Namespace

Drupal\Core\Entity

Code

1
2
3
public function getTargetEntityTypeId() {
  return $this->targetEntityType;
}
doc_Drupal
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.