EntityDisplayModeBase::getTargetType

public EntityDisplayModeBase::getTargetType()

Gets the entity type this display mode is used for.

Return value

string The entity type name.

Overrides EntityDisplayModeInterface::getTargetType

File

core/lib/Drupal/Core/Entity/EntityDisplayModeBase.php, line 72

Class

EntityDisplayModeBase
Base class for config entity types with settings for form and view modes.

Namespace

Drupal\Core\Entity

Code

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

Please login to continue.