Same name and namespace in other branches
  1. 8.9.x core/lib/Drupal/Core/Entity/Display/EntityDisplayInterface.php \Drupal\Core\Entity\Display\EntityDisplayInterface::getTargetEntityTypeId()
  2. 9 core/lib/Drupal/Core/Entity/Display/EntityDisplayInterface.php \Drupal\Core\Entity\Display\EntityDisplayInterface::getTargetEntityTypeId()

Gets the entity type for which this display is used.

Return value

string The entity type id.

1 method overrides EntityDisplayInterface::getTargetEntityTypeId()
EntityDisplayBase::getTargetEntityTypeId in core/lib/Drupal/Core/Entity/EntityDisplayBase.php
Gets the entity type for which this display is used.

File

core/lib/Drupal/Core/Entity/Display/EntityDisplayInterface.php, line 95

Class

EntityDisplayInterface
Provides a common interface for entity displays.

Namespace

Drupal\Core\Entity\Display

Code

public function getTargetEntityTypeId();